GetWallet

This method retrieves the content of a specific wallet on a designated blockchain.

 var Result = Circular.GetWallet(Blockchain,
                                 Wallet_Address
                                 );

Blockchain and Wallet_Address should be in hexadecimal format, following the pattern "0x...". Upon successful execution of the request, the result will be presented in the following format:

{
	"Address" : [Wallet Address],
	"Assets" : 
	[
		{
			"Address" : [Asset Owner Address],
			"Amount" : [Asset Amount],
			"EnableSwap" : 0,
			"Name" : "Circular Coin",
			"Price" : 1,
			"Symbol" : "CIRX",
			"Type" : "C_TYPE_COIN",
			"URL" : "",
			"URLType" : ""
		},
		...
	],
	"DateCreation" : "2023:07:22-17:55:39",
	"Nonce" : 30,
	"PublicKey" : [Public Key],
	"Version" : "1.0.1"
}

Address:

This field represents the wallet's address. It's important to note that a wallet can exist on multiple blockchains, and each instance may contain different contents. A wallet is considered to be present on a specific blockchain only if it has been registered there. No "0x" hexadecimal identifiers are used.

Assets:

This section comprises an array listing the digital assets contained within the wallet on the specified blockchain. No "0x" hexadecimal identifiers are used.

DateCreation:

The DateCreation field represents the registration date of the wallet within the selected blockchain. Different instances on various blockchains may have distinct creation dates.

Nonce:

Nonce refers to the incremental transaction index used for the next transaction.

PublicKey:

This field holds the public key associated with the current wallet. It remains the same across all instances on different blockchains.

Version:

The Wallet Version indicates the specific version of the wallet. Newer wallet versions may also include wallet endpoints, which are equivalent to smart contract endpoints.

Last updated