get_last_pending_transfer_for_account

function get_last_pending_transfer_for_account(sender_id: byte_array, target_blockchain_rid: byte_array, recipient_id: byte_array, asset_id: byte_array, amount: big_integer): (tx_data: byte_array, op_index: integer, account_id: byte_array)?(source)

Retrieves only the last transfer that was not yet completed, based on the parameters specified.

Parameters

sender_id

the id of the account that sent the transfer

target_blockchain_rid

the blockchain which is supposed to receive the transfer

recipient_id

the account that is supposed to receive the transfer

asset_id

the asset that was being transferred

amount

the amount that was being transferred

See also

pending_transfer

for more information on what is a pending transfer

get_paginated_pending_transfers

if you need to retrieve all transfers