Function.useKeybanAccountOrders
function useKeybanAccountOrders(account: KeybanAccount, options?: PaginationArgs): ApiResult<PaginatedData<KeybanOrder>, PaginationExtra>;
Returns an ApiResult tuple for the orders history of an account.
Parameters
Parameter | Type | Description |
---|---|---|
account | KeybanAccount | The KeybanAccount object containing the user's wallet address. |
options? | PaginationArgs | Pagination arguments: - first? : number of transfers to fetch initially. - after? : cursor string to fetch the next page. |
Returns
ApiResult
<PaginatedData
<KeybanOrder
>, PaginationExtra
>
- 0:
PaginatedData<KeybanOrder>
— containsnodes
,hasNextPage
,hasPrevPage
,totalCount
.- 1:
Error
if an error occurred during load, otherwisenull
. - 2:
PaginationExtra
—{ loading: boolean; fetchMore?: () => void }
.
- 1: