SecretNET.Token Namespace

GetTransactionHistoryRequest Constructor

Initializes a new instance of the GetTransferHistoryRequest class.

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

Syntax


public GetTransactionHistoryRequest(
	string address,
	string viewingKey,
	int pageSize,
	Nullable<int> page
)
Public Sub New ( _
	address As String, _
	viewingKey As String, _
	pageSize As Integer, _
	page As Nullable(Of Integer) _
)
public:
GetTransactionHistoryRequest(
	String^ address, 
	String^ viewingKey, 
	int^ pageSize, 
	Nullable<int^> page
)

Parameters

address
Type: String
Addresses SHOULD be a valid bech32 address, but contracts may use a different naming scheme as well (only necessary if queried without permit).
viewingKey
Type: String
The viewing key (only necessary if queried without permit).
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.