Snip20Querier..::..GetTransferHistory Method
Gets the transfer history (This query MUST be authenticated).
This query SHOULD return a list of json objects describing the transactions made by the querying address, in newest-first order.
The user may optionally specify a limit on the amount of information returned by paging the available items.
Namespace:
SecretNET.TokenAssembly: SecretNET.Token (in SecretNET.Token.dll)
Syntax
public Task<SecretQueryContractResult<GetTransferHistoryResponse>> GetTransferHistory( string contractAddress, int pageSize, Nullable<int> page, Nullable<string> walletAddress, Nullable<string> viewingKey, Nullable<Permit> permit, Nullable<string> codeHash )
Public Function GetTransferHistory ( _ contractAddress As String, _ pageSize As Integer, _ page As Nullable(Of Integer), _ walletAddress As Nullable(Of String), _ viewingKey As Nullable(Of String), _ permit As Nullable(Of Permit), _ codeHash As Nullable(Of String) _ ) As Task(Of SecretQueryContractResult(Of GetTransferHistoryResponse))
Parameters
- contractAddress
- Type: String
The contract address.
- pageSize
- Type: Int32
Number of transactions to return, starting from the latest. i.e. n=1 will return only the latest transaction..
- page
- Type: Nullable<(Of <(<'Int32>)>)>
This defaults to 0. Specifying a positive number will skip page * page_size txs from the start.
- permit
- Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.