SecretNET.NFT Namespace

Snip721Querier..::..GetTransactionHistory Method

TransactionHistory displays an optionally paginated list of transactions (mint, burn, and transfer) in reverse chronological order that involve the specified address. (This query MUST be authenticated)

Namespace:  SecretNET.NFT
Assembly:  SecretNET.NFT (in SecretNET.NFT.dll)

Syntax


public Task<SecretQueryContractResult<GetTransactionHistoryResponse>> GetTransactionHistory(
	string contractAddress,
	string address,
	string viewingKey,
	Nullable<Permit> permit,
	Nullable<int> page,
	Nullable<int> pageSize,
	Nullable<string> codeHash
)
Public Function GetTransactionHistory ( _
	contractAddress As String, _
	address As String, _
	viewingKey As String, _
	permit As Nullable(Of Permit), _
	page As Nullable(Of Integer), _
	pageSize As Nullable(Of Integer), _
	codeHash As Nullable(Of String) _
) As Task(Of SecretQueryContractResult(Of GetTransactionHistoryResponse))
public:
Task<SecretQueryContractResult<GetTransactionHistoryResponse^>^>^ GetTransactionHistory(
	String^ contractAddress, 
	String^ address, 
	String^ viewingKey, 
	Nullable<Permit^> permit, 
	Nullable<int^> page, 
	Nullable<int^> pageSize, 
	Nullable<String^> codeHash
)

Parameters

contractAddress
Type: String
The contract address.
address
Type: String
The address whose transaction history is being queried.
viewingKey
Type: String
The address' viewing key.
permit
Type: Nullable<(Of <(<'Permit>)>)>
Authenticate with permit.
page
Type: Nullable<(Of <(<'Int32>)>)>
The page number to display, where the first transaction shown skips the page * page_size most recent transactions.
pageSize
Type: Nullable<(Of <(<'Int32>)>)>
Number of transactions to return.
codeHash
Type: Nullable<(Of <(<'String>)>)>
CodeHash is (not really) optional and makes a call way faster.

Return Value

SecretQueryContractResult<GetTransactionHistoryResponse>.