Function getLastPendingTransferForAccount

  • Retrieves the most recent pending transfer which matches the specified arguments

    Parameters

    • queryable: Queryable

      the client to use when querying the blockchain

    • senderId: BufferId

      the id of the account that originally sent the transfer that is now pending

    • targetBlockchainRid: BufferId

      the rid of the blockchain that the transfer were targeting

    • recipientId: BufferId

      the id of the account that is going to receive the transfer

    • assetId: BufferId

      the id of the asset that is being transferred

    • amount: bigint

      how much of the asset that is being transferred

    Returns Promise<PendingTransfer | null>