# GetWallet

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

```typescript
Circular.SetNAGKey([your key]);
Circular.SetNAGURL([NAG URL]);
```

You can locate the URLs for native NAGs in our SDK documentation. As for third-party NAGs, we plan to provide a list in the future. If you're planning to use the SandBox blockchain for testing purposes, feel free to use an empty ("") NAG key.

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

Blockchain and Wallet\_Address values must be in hexadecimal format, prefixed with "0x". Upon successful execution, the output will be structured as follows:

```typescript
{
	"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 displays the unique identifier of the wallet. Note that a wallet can have multiple presences across different blockchains, each holding distinct assets. A wallet is acknowledged on a specific blockchain only after its registration there, excluding the use of "0x" hexadecimal prefixes.

## **Assets**

Here, you'll find a detailed array of the digital assets held in the wallet for the specified blockchain. This section does not include "0x" hexadecimal prefixes.

## **DateCreation**

This attribute specifies when the wallet was registered on the particular blockchain. Note that registration dates may vary across different blockchain instances.

## **Nonce**

This is the sequential number representing the next transaction's position in the wallet's transaction history.

## **PublicKey**

This field contains the public key of the wallet, a constant identifier that remains unchanged across all blockchain instances where the wallet is present.

## **Version**

This details the wallet's version, highlighting advancements like the inclusion of wallet endpoints, analogous to smart contract endpoints in newer versions.

\
This structured format enhances clarity, providing an easy-to-understand overview of each attribute's role in the wallet's functionality and interaction with blockchain technology.
