Skip to main content

Account.getNativeTransferHistory() method

Returns the Native token (MATIC) transfer history of an account

Signature:

getNativeTransferHistory(options?: NativeTransferHistoryParams): Promise<AssetTransferHistory[]>;

Parameters

ParameterTypeDescription
optionsNativeTransferHistoryParams(Optional) NativeTransferHistoryParams

Returns:

Promise<AssetTransferHistory[]>

Remarks

Returns both incoming and outgoing transfers by default. To retrieve only incoming or outgoing transfers, use the transferType parameter. Returns the transfers in ascending order by default. To retrieve the transfers in descending order, use the order parameter.