getTransfers
查詢您在 Akashic 上的交易
範例
const transactions = await akashicPay.getTransfers({
page: 0,
limit: 10,
layer: TransactionLayer.L1,
status: TransactionStatus.CONFIRMED,
startDate: new Date("2024-01-01"),
endDate: new Date("2025-01-01"),
hideSmallTransactions: true,
});$transactions = akashicPay.getTransfers([
"page" => 0,
"limit" => 10,
"layer" => "L1Transaction",
"status" => "Confirmed",
"startDate" => date('2024-01-01),
"endDate" => date('2025-01-01'),
"hideSmallTransactions" => True
]);APTransactionsParam param = APTransactionsParam.builder(0, 10, new Date(2024,1,1), new Date(2025,1,1), APTransactionLayer.L1Transaction, APTransactionStatus.Confirmed, true).build();
APTransfersResult result = akashicPay.getTransfers(l2Address, param);回調範例
Last updated
Was this helpful?