# Accounts

Accounts Api

## Get account (v1)

> \# Response\
> \- \`auth\_key\` — The authentication key used for validating transactions.\
> \- \`sequence\_number\` — The current expected sequence number of the account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}":{"get":{"tags":["Accounts"],"summary":"Get account (v1)","description":"# Response\n- `auth_key` — The authentication key used for validating transactions.\n- `sequence_number` — The current expected sequence number of the account.","operationId":"get_account_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Account information retrieved successfully","content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AccountData"}]}}}}},"deprecated":true}}},"components":{"schemas":{"AccountData":{"type":"object","description":"Datatype that holds the sequence number and account authentication key.","required":["sequence_number","authentication_key"],"properties":{"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"authentication_key":{"$ref":"#/components/schemas/Hash"}}},"Hash":{"type":"string","description":"Hex encoded hash"}}}}
```

## Get coin transactions (v1)

> List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.\
> It includes both transactions sent from and received by the account.\ <br>

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/coin_transactions":{"get":{"tags":["Accounts"],"summary":"Get coin transactions (v1)","description":"List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.\nIt includes both transactions sent from and received by the account.\n\n","operationId":"coin_transactions_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"The cursor that the search should start from. The cursor for a given transaction can be derived by adding\nits index (where indexes start from zero) in the block in which it became finalized to the timestamp of the\nblock.\n\nDuring a paginated query, the cursor returned in the previous page should be used as the starting cursor of the next page.\n\nIf provided, return `:count` of transactions starting from this cursor in ascending order.\nIf not provided, return `:count` of most recent transactions in descending order.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"}],"responses":{"200":{"description":"List of *finalized* transactions sent from and received by the move account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCoinStatementV1"}}}}},"deprecated":true}}},"components":{"schemas":{"AccountCoinStatementV1":{"type":"object","required":["record","cursor"],"properties":{"record":{"type":"array","items":{"$ref":"#/components/schemas/TransactionInfoV1"}},"cursor":{"type":"integer","format":"u-int64","minimum":0}}},"TransactionInfoV1":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TransactionBlockInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV1] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"TransactionBlockInfo":{"type":"object","description":"Metadata about the block that finalized a particular [SmrTransaction].","required":["hash","height","timestamp"],"properties":{"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The height of the related block."},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"}},"deprecated":true},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}}}}}
```

## Get account modules (v1)

> Get account modules by address

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/modules":{"get":{"tags":["Accounts"],"summary":"Get account modules (v1)","description":"Get account modules by address","operationId":"get_account_modules_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"Account module list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveList"}}}}},"deprecated":true}}},"components":{"schemas":{"MoveList":{"oneOf":[{"type":"object","required":["Resources"],"properties":{"Resources":{"$ref":"#/components/schemas/MoveResourceList"}}},{"type":"object","required":["Modules"],"properties":{"Modules":{"$ref":"#/components/schemas/MoveModuleList"}}}]},"MoveResourceList":{"type":"object","required":["resource"],"properties":{"resource":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"object","required":["address","module","name","type_args"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"module":{"type":"string"},"name":{"type":"string"},"type_args":{"type":"array","items":{"$ref":"#/components/schemas/TypeTag"}}}}]}},"cursor":{"type":["array","null"],"items":{"type":"integer","format":"u-int8","minimum":0},"description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TypeTag":{"oneOf":[{"type":"string","enum":["bool"]},{"type":"string","enum":["u8"]},{"type":"string","enum":["u64"]},{"type":"string","enum":["u128"]},{"type":"string","enum":["address"]},{"type":"string","enum":["signer"]},{"type":"object","required":["vector"],"properties":{"vector":{"$ref":"#/components/schemas/TypeTag"}}},{"type":"object","required":["struct"],"properties":{"struct":{"$ref":"#/components/schemas/StructTag"}}},{"type":"string","enum":["u16"]},{"type":"string","enum":["u32"]},{"type":"string","enum":["u256"]}]},"StructTag":{"type":"object","required":["address","module","name","type_args"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"module":{"type":"string"},"name":{"type":"string"},"type_args":{"type":"array","items":{"$ref":"#/components/schemas/TypeTag"}}}},"MoveModuleList":{"type":"object","required":["modules"],"properties":{"modules":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"object","required":["address","name"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"name":{"type":"string"}}}]}},"cursor":{"type":["array","null"],"items":{"type":"integer","format":"u-int8","minimum":0},"description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request."}}}}}}
```

## Get account module (v1)

> Retrieves an individual module from a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/modules/{module_name}":{"get":{"tags":["Accounts"],"summary":"Get account module (v1)","description":"Retrieves an individual module from a given account.","operationId":"get_account_module_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"module_name","in":"path","description":"Name of module to retrieve e.g. coin","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"View account module by Move module name","content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MoveModule"}]}}}}},"deprecated":true}}},"components":{"schemas":{"MoveModule":{"type":"object","description":"A Move module.","required":["address","name","friends","exposed_functions","structs"],"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"object"},"friends":{"type":"object","description":"Friends of the module"},"exposed_functions":{"type":"object","description":"Public functions of the module"},"structs":{"type":"object","description":"Structs of the module"}}},"Address":{"$ref":"#/components/schemas/AccountAddress","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."},"AccountAddress":{"type":"string","description":"Hex encoded account address."}}}}
```

## Get account resources (v1)

> Get account resources by address

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/resources":{"get":{"tags":["Accounts"],"summary":"Get account resources (v1)","description":"Get account resources by address","operationId":"get_account_resources_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"Account resource list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveList"}}}}},"deprecated":true}}},"components":{"schemas":{"MoveList":{"oneOf":[{"type":"object","required":["Resources"],"properties":{"Resources":{"$ref":"#/components/schemas/MoveResourceList"}}},{"type":"object","required":["Modules"],"properties":{"Modules":{"$ref":"#/components/schemas/MoveModuleList"}}}]},"MoveResourceList":{"type":"object","required":["resource"],"properties":{"resource":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"object","required":["address","module","name","type_args"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"module":{"type":"string"},"name":{"type":"string"},"type_args":{"type":"array","items":{"$ref":"#/components/schemas/TypeTag"}}}}]}},"cursor":{"type":["array","null"],"items":{"type":"integer","format":"u-int8","minimum":0},"description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TypeTag":{"oneOf":[{"type":"string","enum":["bool"]},{"type":"string","enum":["u8"]},{"type":"string","enum":["u64"]},{"type":"string","enum":["u128"]},{"type":"string","enum":["address"]},{"type":"string","enum":["signer"]},{"type":"object","required":["vector"],"properties":{"vector":{"$ref":"#/components/schemas/TypeTag"}}},{"type":"object","required":["struct"],"properties":{"struct":{"$ref":"#/components/schemas/StructTag"}}},{"type":"string","enum":["u16"]},{"type":"string","enum":["u32"]},{"type":"string","enum":["u256"]}]},"StructTag":{"type":"object","required":["address","module","name","type_args"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"module":{"type":"string"},"name":{"type":"string"},"type_args":{"type":"array","items":{"$ref":"#/components/schemas/TypeTag"}}}},"MoveModuleList":{"type":"object","required":["modules"],"properties":{"modules":{"type":"array","items":{"type":"array","items":false,"prefixItems":[{"type":"string"},{"type":"object","required":["address","name"],"properties":{"address":{"$ref":"#/components/schemas/AccountAddress"},"name":{"type":"string"}}}]}},"cursor":{"type":["array","null"],"items":{"type":"integer","format":"u-int8","minimum":0},"description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request."}}}}}}
```

## Get account resource (v1)

> View account resource by Move type

````json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/resources/{resource_type}":{"get":{"tags":["Accounts"],"summary":"Get account resource (v1)","description":"View account resource by Move type","operationId":"get_account_resource_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"resource_type","in":"path","description":"Name of struct to retrieve e.g. `0x1::account::Account`","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-zA-Z:_<>]+$"}}],"responses":{"200":{"description":"View account resource by Move Struct type","content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MoveValueResponseV1"}]}}}}},"deprecated":true}}},"components":{"schemas":{"MoveValueResponseV1":{"type":"object","description":"Datatype for representing the MoveValue\nThis struct is deprecated. Use the [super::v2::MoveValueResponse] struct instead.","required":["result"],"properties":{"result":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/MoveValue"},{"type":"null"}]}}},"deprecated":true},"MoveValue":{"oneOf":[{"type":"object","description":"A u8 Move type","required":["U8"],"properties":{"U8":{"type":"integer","format":"u-int8","description":"A u8 Move type","minimum":0}}},{"type":"object","required":["U16"],"properties":{"U16":{"type":"integer","format":"u-int16","minimum":0}}},{"type":"object","required":["U32"],"properties":{"U32":{"type":"integer","format":"u-int32","minimum":0}}},{"type":"object","description":"A string encoded U64.","required":["U64"],"properties":{"U64":{"type":"string","description":"A string encoded U64."}}},{"type":"object","description":"A string encoded U128.","required":["U128"],"properties":{"U128":{"type":"string","description":"A string encoded U128."}}},{"type":"object","description":"A string encoded U256.","required":["U256"],"properties":{"U256":{"type":"string","description":"A string encoded U256."}}},{"type":"object","description":"A bool Move type","required":["Bool"],"properties":{"Bool":{"type":"boolean","description":"A bool Move type"}}},{"type":"object","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x.","required":["Address"],"properties":{"Address":{"type":"string","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."}}},{"type":"object","description":"A vector Move type.  May have any other [`MoveValue`] nested inside it","required":["Vector"],"properties":{"Vector":{"type":"array","items":{"type":"string"},"description":"A vector Move type.  May have any other [`MoveValue`] nested inside it"}}},{"type":"object","description":"All bytes (Vec<u8>) data is represented as hex-encoded string prefixed with `0x` and fulfilled with\ntwo hex digits per byte.\n\nUnlike the `Address` type, HexEncodedBytes will not trim any zeros.","required":["Bytes"],"properties":{"Bytes":{"type":"string","description":"All bytes (Vec<u8>) data is represented as hex-encoded string prefixed with `0x` and fulfilled with\ntwo hex digits per byte.\n\nUnlike the `Address` type, HexEncodedBytes will not trim any zeros."}}},{"type":"object","description":"This is a JSON representation of some data within an account resource. More specifically,\nit is a map of strings to arbitrary JSON values / objects, where the keys are top level\nfields within the given resource.\n\nTo clarify, you might query for 0x1::account::Account and see the example data.\n\nMove `bool` type value is serialized into `boolean`.\n\nMove `u8`, `u16` and `u32` type value is serialized into `integer`.\n\nMove `u64`, `u128` and `u256` type value is serialized into `string`.\n\nMove `address` type value (32 byte Supra account address) is serialized into a HexEncodedBytes string.\nFor example:\n  - `0x1`\n  - `0x1668f6be25668c1a17cd8caf6b8d2f25`\n\nMove `vector` type value is serialized into `array`, except `vector<u8>` which is serialized into a\nHexEncodedBytes string with `0x` prefix.\nFor example:\n  - `vector<u64>{255, 255}` => `[\\\"255\\\", \\\"255\\\"]`\n  - `vector<u8>{255, 255}` => `0xffff`\n\nMove `struct` type value is serialized into `object` that looks like this (except some Move stdlib types, see the following section):\n  ```json\n  {\n    field1_name: field1_value,\n    field2_name: field2_value,\n    ......\n  }\n  ```\n\nFor example:\n  `{ \\\"created\\\": \\\"0xa550c18\\\", \\\"role_id\\\": \\\"0\\\" }`\n\n**Special serialization for Move stdlib types**:\n  - [0x1::string::String]\n    is serialized into `string`. For example, struct value `0x1::string::String{bytes: b\\\"Hello World!\\\"}`\n    is serialized as `\\\"Hello World!\\\"` in JSON.\n","required":["Struct"],"properties":{"Struct":{"type":"object","description":"This is a JSON representation of some data within an account resource. More specifically,\nit is a map of strings to arbitrary JSON values / objects, where the keys are top level\nfields within the given resource.\n\nTo clarify, you might query for 0x1::account::Account and see the example data.\n\nMove `bool` type value is serialized into `boolean`.\n\nMove `u8`, `u16` and `u32` type value is serialized into `integer`.\n\nMove `u64`, `u128` and `u256` type value is serialized into `string`.\n\nMove `address` type value (32 byte Supra account address) is serialized into a HexEncodedBytes string.\nFor example:\n  - `0x1`\n  - `0x1668f6be25668c1a17cd8caf6b8d2f25`\n\nMove `vector` type value is serialized into `array`, except `vector<u8>` which is serialized into a\nHexEncodedBytes string with `0x` prefix.\nFor example:\n  - `vector<u64>{255, 255}` => `[\\\"255\\\", \\\"255\\\"]`\n  - `vector<u8>{255, 255}` => `0xffff`\n\nMove `struct` type value is serialized into `object` that looks like this (except some Move stdlib types, see the following section):\n  ```json\n  {\n    field1_name: field1_value,\n    field2_name: field2_value,\n    ......\n  }\n  ```\n\nFor example:\n  `{ \\\"created\\\": \\\"0xa550c18\\\", \\\"role_id\\\": \\\"0\\\" }`\n\n**Special serialization for Move stdlib types**:\n  - [0x1::string::String]\n    is serialized into `string`. For example, struct value `0x1::string::String{bytes: b\\\"Hello World!\\\"}`\n    is serialized as `\\\"Hello World!\\\"` in JSON.\n"}}},{"type":"object","description":"A string Move type","required":["String"],"properties":{"String":{"type":"string","description":"A string Move type"}}}],"description":"An enum of the possible Move value types."}}}}
````

## Get account transactions (v1)

> List of finalized transactions sent by the move account. Return max 100 transactions per request.\ <br>

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v1/accounts/{address}/transactions":{"get":{"tags":["Accounts"],"summary":"Get account transactions (v1)","description":"List of finalized transactions sent by the move account. Return max 100 transactions per request.\n\n","operationId":"get_account_transactions_v1","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Starting sequence number.\nIf provided, return `:count` of transactions starting from this sequence number in ascending order.\nIf not provided, return `:count` of most recent transactions in descending order.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"}],"responses":{"200":{"description":"List of transactions from the move account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementV1"}}}}},"deprecated":true}}},"components":{"schemas":{"AccountStatementV1":{"type":"object","required":["record"],"properties":{"record":{"type":"array","items":{"$ref":"#/components/schemas/TransactionInfoV1"}}}},"TransactionInfoV1":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TransactionBlockInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV1] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"TransactionBlockInfo":{"type":"object","description":"Metadata about the block that finalized a particular [SmrTransaction].","required":["hash","height","timestamp"],"properties":{"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The height of the related block."},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"}},"deprecated":true},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}}}}}
```

## Get account (v2)

> \# Response\
> \- \`auth\_key\` — The authentication key used for validating transactions.\
> \- \`sequence\_number\` — The current expected sequence number of the account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}":{"get":{"tags":["Accounts"],"summary":"Get account (v2)","description":"# Response\n- `auth_key` — The authentication key used for validating transactions.\n- `sequence_number` — The current expected sequence number of the account.","operationId":"get_account_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Account information retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountData"}}}}}}}},"components":{"schemas":{"AccountData":{"type":"object","description":"Datatype that holds the sequence number and account authentication key.","required":["sequence_number","authentication_key"],"properties":{"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"authentication_key":{"$ref":"#/components/schemas/Hash"}}},"Hash":{"type":"string","description":"Hex encoded hash"}}}}
```

## Get coin transactions (v2)

> List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.\
> It includes both transactions sent from and received by the account.\ <br>

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/coin_transactions":{"get":{"tags":["Accounts"],"summary":"Get coin transactions (v2)","description":"List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.\nIt includes both transactions sent from and received by the account.\n\n","operationId":"coin_transactions_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"The cursor that the search should start from. The cursor for a given transaction can be derived by adding\nits index (where indexes start from zero) in the block in which it became finalized to the timestamp of the\nblock.\n\nDuring a paginated query, the cursor returned in the previous page should be used as the starting cursor of the next page.\n\nIf provided, return `:count` of transactions starting from this cursor in ascending order.\nIf not provided, return `:count` of most recent transactions in descending order.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"}],"responses":{"200":{"description":"List of *finalized* transactions sent from and received by the move account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCoinStatementV2"}}}}}}}},"components":{"schemas":{"AccountCoinStatementV2":{"type":"object","required":["record","cursor"],"properties":{"record":{"type":"array","items":{"$ref":"#/components/schemas/TransactionInfoV2"}},"cursor":{"type":"integer","format":"u-int64","minimum":0}}},"TransactionInfoV2":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV2] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"BlockHeaderInfo":{"type":"object","description":"Metadata about a Supra block.","required":["author","hash","height","parent","timestamp","view"],"properties":{"author":{"$ref":"#/components/schemas/Identity"},"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Number of blocks before this block in the chain (including the genesis block)."},"parent":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"},"view":{"$ref":"#/components/schemas/View"}}},"Identity":{"type":"string","description":"Hex encoded identity."},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"View":{"type":"object","required":["epoch_id","round"],"properties":{"epoch_id":{"$ref":"#/components/schemas/EpochId","description":"Identifier of the consensus epoch."},"round":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the consensus round."}}},"EpochId":{"type":"object","required":["chain_id","epoch"],"properties":{"chain_id":{"oneOf":[{"type":"integer","format":"u-int8","minimum":0}],"description":"Unique identifier for this instance of the SMR."},"epoch":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the epoch within the context of `chain_id`."}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}}}}}
```

## Get account modules (v2)

> Retrieves all account modules' bytecode for a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/modules":{"get":{"tags":["Accounts"],"summary":"Get account modules (v2)","description":"Retrieves all account modules' bytecode for a given account.","operationId":"get_account_modules_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"account module list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveModuleListV2"}}}}}}}},"components":{"schemas":{"MoveModuleListV2":{"type":"object","required":["modules"],"properties":{"modules":{"type":"array","items":{"$ref":"#/components/schemas/MoveModuleBytecode"}},"cursor":{"type":["string","null"],"description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request."}}},"MoveModuleBytecode":{"type":"object","required":["bytecode","abi"],"properties":{"bytecode":{"type":"string","description":"Hex encoded bytecode"},"abi":{"$ref":"#/components/schemas/MoveModule"}}},"MoveModule":{"type":"object","description":"A Move module.","required":["address","name","friends","exposed_functions","structs"],"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"object"},"friends":{"type":"object","description":"Friends of the module"},"exposed_functions":{"type":"object","description":"Public functions of the module"},"structs":{"type":"object","description":"Structs of the module"}}},"Address":{"$ref":"#/components/schemas/AccountAddress","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."},"AccountAddress":{"type":"string","description":"Hex encoded account address."}}}}
```

## Get account module (v2)

> Retrieves an individual module from a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/modules/{module_name}":{"get":{"tags":["Accounts"],"summary":"Get account module (v2)","description":"Retrieves an individual module from a given account.","operationId":"get_account_module_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"module_name","in":"path","description":"Name of module to retrieve e.g. coin","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"View account module by Move module name","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveModuleBytecode"}}}}}}}},"components":{"schemas":{"MoveModuleBytecode":{"type":"object","required":["bytecode","abi"],"properties":{"bytecode":{"type":"string","description":"Hex encoded bytecode"},"abi":{"$ref":"#/components/schemas/MoveModule"}}},"MoveModule":{"type":"object","description":"A Move module.","required":["address","name","friends","exposed_functions","structs"],"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"object"},"friends":{"type":"object","description":"Friends of the module"},"exposed_functions":{"type":"object","description":"Public functions of the module"},"structs":{"type":"object","description":"Structs of the module"}}},"Address":{"$ref":"#/components/schemas/AccountAddress","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."},"AccountAddress":{"type":"string","description":"Hex encoded account address."}}}}
```

## Get account resources (v2)

> Get account resources by address

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/resources":{"get":{"tags":["Accounts"],"summary":"Get account resources (v2)","description":"Get account resources by address","operationId":"get_account_resources_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"Account resource list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveResourcesResponse"}}}}}}}},"components":{"schemas":{"MoveResourcesResponse":{"type":"object","required":["resources","cursor"],"properties":{"resources":{"type":"array","items":{"$ref":"#/components/schemas/MoveResource"},"description":"A list of Move Resources."},"cursor":{"type":"string","description":"The hex-encoded bytes of the state key of the last resource in the list."}}},"MoveResource":{"type":"object","description":"A Move Resource.","required":["type","data"],"properties":{"type":{"type":"string"},"data":{"type":"object"}}}}}}
```

## Get account resource (v2)

> View account resource by Move type

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/resources/{resource_type}":{"get":{"tags":["Accounts"],"summary":"Get account resource (v2)","description":"View account resource by Move type","operationId":"get_account_resource_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"resource_type","in":"path","description":"Name of struct to retrieve e.g. `0x1::account::Account`","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-zA-Z:_<>]+$"}}],"responses":{"200":{"description":"View account resource by Move Struct type","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveResource"}}}}}}}},"components":{"schemas":{"MoveResource":{"type":"object","description":"A Move Resource.","required":["type","data"],"properties":{"type":{"type":"string"},"data":{"type":"object"}}}}}}
```

## Get account transactions (v2)

> List of finalized transactions sent by the move account. Return max 100 transactions per request.\ <br>

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v2/accounts/{address}/transactions":{"get":{"tags":["Accounts"],"summary":"Get account transactions (v2)","description":"List of finalized transactions sent by the move account. Return max 100 transactions per request.\n\n","operationId":"get_account_transactions_v2","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Starting sequence number.\nIf provided, return `:count` of transactions starting from this sequence number in ascending order.\nIf not provided, return `:count` of most recent transactions in descending order.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"}],"responses":{"200":{"description":"List of transactions from the move account.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementV2"}}}}}}}},"components":{"schemas":{"AccountStatementV2":{"type":"object","required":["record"],"properties":{"record":{"type":"array","items":{"$ref":"#/components/schemas/TransactionInfoV2"}}}},"TransactionInfoV2":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV2] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"BlockHeaderInfo":{"type":"object","description":"Metadata about a Supra block.","required":["author","hash","height","parent","timestamp","view"],"properties":{"author":{"$ref":"#/components/schemas/Identity"},"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Number of blocks before this block in the chain (including the genesis block)."},"parent":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"},"view":{"$ref":"#/components/schemas/View"}}},"Identity":{"type":"string","description":"Hex encoded identity."},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"View":{"type":"object","required":["epoch_id","round"],"properties":{"epoch_id":{"$ref":"#/components/schemas/EpochId","description":"Identifier of the consensus epoch."},"round":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the consensus round."}}},"EpochId":{"type":"object","required":["chain_id","epoch"],"properties":{"chain_id":{"oneOf":[{"type":"integer","format":"u-int8","minimum":0}],"description":"Unique identifier for this instance of the SMR."},"epoch":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the epoch within the context of `chain_id`."}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}}}}}
```

## Get account (v3)

> \# Response\
> \- \`auth\_key\` — The authentication key used for validating transactions.\
> \- \`sequence\_number\` — The current expected sequence number of the account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}":{"get":{"tags":["Accounts"],"summary":"Get account (v3)","description":"# Response\n- `auth_key` — The authentication key used for validating transactions.\n- `sequence_number` — The current expected sequence number of the account.","operationId":"get_account_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Account information retrieved successfully","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountData"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"AccountData":{"type":"object","description":"Datatype that holds the sequence number and account authentication key.","required":["sequence_number","authentication_key"],"properties":{"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"authentication_key":{"$ref":"#/components/schemas/Hash"}}},"Hash":{"type":"string","description":"Hex encoded hash"}}}}
```

## Get account auto-transaction (v3)

> List of finalized automated transactions based on the automation tasks registered by the move account.\
> Return max 100 transactions per request.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/automated_transactions":{"get":{"tags":["Accounts"],"summary":"Get account auto-transaction (v3)","description":"List of finalized automated transactions based on the automation tasks registered by the move account.\nReturn max 100 transactions per request.","operationId":"statement_automated_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"block_height","in":"query","description":"Starting block height (inclusive). Optional.\n\nThe block height at which to start lookup for transactions.\nIf provided, returns `:count` of transactions starting from it in the specified order.\nFor order see `:ascending` flag.\n\nNote: If a `:cursor` is specified then this field will be ignored.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"},{"name":"cursor","in":"query","description":"The cursor (exclusive) to start the query from. Optional.\n\nIf provided, returns `:count` of transactions starting from this cursor in the specified order.\nFor order see `:ascending` flag.\n\nIf not specified, the lookup will be done based on the `:block_height` parameter value.\nNote: If both `:cursor` and `:block_height` are specified then `:cursor` has precedence.","required":false,"schema":{"type":"string"},"style":"form"},{"name":"ascending","in":"query","description":"Flag indicating order of lookup.\n\nDefaults to `false`; i.e. transactions are returned in descending order of their execution.\nIf `true`, transactions are returned in ascending order of their execution.","required":false,"schema":{"type":"boolean"},"style":"form"}],"responses":{"200":{"description":"List of automated transactions of the move account.","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementV3"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"AccountStatementV3":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"},"description":"Account transactions of [Transaction] type."},"Transaction":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["user"]}}}]},{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["automated"]}}}]},{"allOf":[{"$ref":"#/components/schemas/BlockMetadataInfo"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["block_metadata"]}}}]}]},"TransactionInfoV2":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV2] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"BlockHeaderInfo":{"type":"object","description":"Metadata about a Supra block.","required":["author","hash","height","parent","timestamp","view"],"properties":{"author":{"$ref":"#/components/schemas/Identity"},"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Number of blocks before this block in the chain (including the genesis block)."},"parent":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"},"view":{"$ref":"#/components/schemas/View"}}},"Identity":{"type":"string","description":"Hex encoded identity."},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"View":{"type":"object","required":["epoch_id","round"],"properties":{"epoch_id":{"$ref":"#/components/schemas/EpochId","description":"Identifier of the consensus epoch."},"round":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the consensus round."}}},"EpochId":{"type":"object","required":["chain_id","epoch"],"properties":{"chain_id":{"oneOf":[{"type":"integer","format":"u-int8","minimum":0}],"description":"Unique identifier for this instance of the SMR."},"epoch":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the epoch within the context of `chain_id`."}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}},"BlockMetadataInfo":{"type":"object","description":"Details of block metadata transaction execution","required":["hash","output","status"],"properties":{"hash":{"$ref":"#/components/schemas/Hash"},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any.\nThis field will not be set for transactions that are returned as a part of a block."}]},"output":{"$ref":"#/components/schemas/TransactionOutput"},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}}}}}
```

## Get coin transactions (v3)

> List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/coin_transactions":{"get":{"tags":["Accounts"],"summary":"Get coin transactions (v3)","description":"List of finalized coin withdraw/deposit transactions relevant to the move account. Return max 100 transactions per request.","operationId":"coin_transactions_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"The cursor (exclusive) that the search should start from.\n\nIf provided, returns `:count` of transactions starting from this cursor in the specified order.\n\nFor order see `:ascending` flag.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"},{"name":"ascending","in":"query","description":"Flag indicating order of lookup.\n\nDefaults to `false` i.e. transactions are returned in descending order of their execution.\nIf `true`, transactions are returned in ascending order of their execution.","required":false,"schema":{"type":"boolean"},"style":"form"},{"name":"type","in":"query","description":"Transaction type to query. If missing any/all type of transactions will be looked for.","required":false,"schema":{"type":"string","description":"Type of the transaction to be queried.","enum":["auto","user","meta"]}}],"responses":{"200":{"description":"List of *finalized* transactions sent from and received by the move account.","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementV3"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"AccountStatementV3":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"},"description":"Account transactions of [Transaction] type."},"Transaction":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["user"]}}}]},{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["automated"]}}}]},{"allOf":[{"$ref":"#/components/schemas/BlockMetadataInfo"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["block_metadata"]}}}]}]},"TransactionInfoV2":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV2] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"BlockHeaderInfo":{"type":"object","description":"Metadata about a Supra block.","required":["author","hash","height","parent","timestamp","view"],"properties":{"author":{"$ref":"#/components/schemas/Identity"},"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Number of blocks before this block in the chain (including the genesis block)."},"parent":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"},"view":{"$ref":"#/components/schemas/View"}}},"Identity":{"type":"string","description":"Hex encoded identity."},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"View":{"type":"object","required":["epoch_id","round"],"properties":{"epoch_id":{"$ref":"#/components/schemas/EpochId","description":"Identifier of the consensus epoch."},"round":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the consensus round."}}},"EpochId":{"type":"object","required":["chain_id","epoch"],"properties":{"chain_id":{"oneOf":[{"type":"integer","format":"u-int8","minimum":0}],"description":"Unique identifier for this instance of the SMR."},"epoch":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the epoch within the context of `chain_id`."}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}},"BlockMetadataInfo":{"type":"object","description":"Details of block metadata transaction execution","required":["hash","output","status"],"properties":{"hash":{"$ref":"#/components/schemas/Hash"},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any.\nThis field will not be set for transactions that are returned as a part of a block."}]},"output":{"$ref":"#/components/schemas/TransactionOutput"},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}}}}}
```

## Get account modules (v3)

> Retrieves all account modules' bytecode for a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/modules":{"get":{"tags":["Accounts"],"summary":"Get account modules (v3)","description":"Retrieves all account modules' bytecode for a given account.","operationId":"get_account_modules_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"Account module list","headers":{},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoveModuleBytecode"}}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"MoveModuleBytecode":{"type":"object","required":["bytecode","abi"],"properties":{"bytecode":{"type":"string","description":"Hex encoded bytecode"},"abi":{"$ref":"#/components/schemas/MoveModule"}}},"MoveModule":{"type":"object","description":"A Move module.","required":["address","name","friends","exposed_functions","structs"],"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"object"},"friends":{"type":"object","description":"Friends of the module"},"exposed_functions":{"type":"object","description":"Public functions of the module"},"structs":{"type":"object","description":"Structs of the module"}}},"Address":{"$ref":"#/components/schemas/AccountAddress","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."},"AccountAddress":{"type":"string","description":"Hex encoded account address."}}}}
```

## Get account module (v3)

> Retrieves an individual module from a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/modules/{module_name}":{"get":{"tags":["Accounts"],"summary":"Get account module (v3)","description":"Retrieves an individual module from a given account.","operationId":"get_account_module_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"module_name","in":"path","description":"Name of module to retrieve e.g. coin","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"View account module by Move module name","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveModuleBytecode"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"MoveModuleBytecode":{"type":"object","required":["bytecode","abi"],"properties":{"bytecode":{"type":"string","description":"Hex encoded bytecode"},"abi":{"$ref":"#/components/schemas/MoveModule"}}},"MoveModule":{"type":"object","description":"A Move module.","required":["address","name","friends","exposed_functions","structs"],"properties":{"address":{"$ref":"#/components/schemas/Address"},"name":{"type":"object"},"friends":{"type":"object","description":"Friends of the module"},"exposed_functions":{"type":"object","description":"Public functions of the module"},"structs":{"type":"object","description":"Structs of the module"}}},"Address":{"$ref":"#/components/schemas/AccountAddress","description":"The address of an account\n\nThis is represented in a string as a 64 character hex string, sometimes\nshortened by stripping leading 0s, and adding a 0x."},"AccountAddress":{"type":"string","description":"Hex encoded account address."}}}}
```

## Get account resources (v3)

> Retrieves all account resources for a given account.

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/resources":{"get":{"tags":["Accounts"],"summary":"Get account resources (v3)","description":"Retrieves all account resources for a given account.","operationId":"get_account_resources_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Cursor specifying where to start for pagination.\nUse the cursor returned by the API when making the next request.","required":false,"schema":{"type":"string"},"style":"form"}],"responses":{"200":{"description":"Account resource list","headers":{},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MoveResource"}}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"MoveResource":{"type":"object","description":"A Move Resource.","required":["type","data"],"properties":{"type":{"type":"string"},"data":{"type":"object"}}}}}}
```

## Get account resource (v3)

> View account resource by Move type

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/resources/{resource_type}":{"get":{"tags":["Accounts"],"summary":"Get account resource (v3)","description":"View account resource by Move type","operationId":"get_account_resource_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"resource_type","in":"path","description":"Name of struct to retrieve e.g. `0x1::account::Account`","required":true,"schema":{"type":"string","pattern":"^0x[0-9a-zA-Z:_<>]+$"}}],"responses":{"200":{"description":"View account resource by Move Struct type","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveResource"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"MoveResource":{"type":"object","description":"A Move Resource.","required":["type","data"],"properties":{"type":{"type":"string"},"data":{"type":"object"}}}}}}
```

## Get account transactions (v3)

> List of finalized transactions sent by the move account. Return max 100 transactions per request.\ <br>

```json
{"openapi":"3.1.0","info":{"title":"Supra RPC Node","version":"59f32573d4ca6e9e0f8e04896600ea56ff9fd0bc"},"tags":[{"name":"Accounts","description":"Accounts Api"}],"servers":[{"url":"https://rpc-testnet.supra.com","description":"RPC For Supra Scan and Faucet"},{"url":"https://rpc-wallet-testnet.supra.com","description":"RPC For Wallet"},{"url":"https://rpc-suprascan-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-archive-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-suprascan-reprocessing-testnet.supra.com","description":"RPC For Suprascan"},{"url":"https://rpc-testnet1.supra.com","description":"RPC For nodeops group1"},{"url":"http://localhost:27000","description":"LocalNet"}],"paths":{"/rpc/v3/accounts/{address}/transactions":{"get":{"tags":["Accounts"],"summary":"Get account transactions (v3)","description":"List of finalized transactions sent by the move account. Return max 100 transactions per request.\n\n","operationId":"get_account_transactions_v3","parameters":[{"name":"address","in":"path","description":"Address of account with or without a 0x prefix","required":true,"schema":{"type":"string"}},{"name":"count","in":"query","description":"Maximum number of items to return. Default is 20.","required":false,"schema":{"type":"integer","minimum":0},"style":"form"},{"name":"start","in":"query","description":"Starting sequence number.\n\nIf provided, return `:count` of transactions starting from this sequence number (inclusive)\nin the specified order.\n\nFor order see `:ascending` flag.","required":false,"schema":{"type":"integer","format":"u-int64","minimum":0},"style":"form"},{"name":"ascending","in":"query","description":"Flag indicating order of lookup.\n\nDefaults to `false`; i.e. the transactions are returned in descending order by sequence number.\nIf `true`, transactions are returned in ascending order by sequence number.","required":false,"schema":{"type":"boolean"},"style":"form"}],"responses":{"200":{"description":"List of transactions from the move account.","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountStatementV3"}},"application/x-bcs":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}},"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"u-int8","minimum":0}}}}}}}}},"components":{"schemas":{"AccountStatementV3":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"},"description":"Account transactions of [Transaction] type."},"Transaction":{"oneOf":[{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["user"]}}}]},{"allOf":[{"$ref":"#/components/schemas/TransactionInfoV2"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["automated"]}}}]},{"allOf":[{"$ref":"#/components/schemas/BlockMetadataInfo"},{"type":"object","required":["txn_type"],"properties":{"txn_type":{"type":"string","enum":["block_metadata"]}}}]}]},"TransactionInfoV2":{"type":"object","description":"Information about a Supra transaction.","required":["authenticator","hash","header","payload","status"],"properties":{"authenticator":{"type":"object","description":"The cryptographic material that was submitted with the transaction, according to its type."},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any. This field should\nnot be set if this [TransactionInfoV2] is yet to be included in a [Block]."}]},"hash":{"$ref":"#/components/schemas/Hash"},"header":{"$ref":"#/components/schemas/SmrTransactionHeader"},"payload":{"type":"object","description":"The deserialized payload of the transaction according to its type."},"output":{"oneOf":[{"$ref":"#/components/schemas/TransactionOutput"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}},"BlockHeaderInfo":{"type":"object","description":"Metadata about a Supra block.","required":["author","hash","height","parent","timestamp","view"],"properties":{"author":{"$ref":"#/components/schemas/Identity"},"hash":{"$ref":"#/components/schemas/Hash"},"height":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Number of blocks before this block in the chain (including the genesis block)."},"parent":{"$ref":"#/components/schemas/Hash"},"timestamp":{"$ref":"#/components/schemas/SmrTimestamp"},"view":{"$ref":"#/components/schemas/View"}}},"Identity":{"type":"string","description":"Hex encoded identity."},"Hash":{"type":"string","description":"Hex encoded hash"},"SmrTimestamp":{"type":"object","required":["timestamp"],"properties":{"timestamp":{"type":"integer","format":"u-int64","description":"The timestamp as measured in the number of microseconds since the unix epoch.","minimum":0}}},"View":{"type":"object","required":["epoch_id","round"],"properties":{"epoch_id":{"$ref":"#/components/schemas/EpochId","description":"Identifier of the consensus epoch."},"round":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the consensus round."}}},"EpochId":{"type":"object","required":["chain_id","epoch"],"properties":{"chain_id":{"oneOf":[{"type":"integer","format":"u-int8","minimum":0}],"description":"Unique identifier for this instance of the SMR."},"epoch":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"Identifier of the epoch within the context of `chain_id`."}}},"SmrTransactionHeader":{"type":"object","required":["chain_id","expiration_timestamp","sender","sequence_number","gas_unit_price","max_gas_amount"],"properties":{"chain_id":{"type":"integer","format":"uint8","description":"The unique identifier for the instance of the Supra chain that this transaction should\nbe executed upon.","minimum":0},"expiration_timestamp":{"$ref":"#/components/schemas/SmrTimestamp","description":"The time at which this transaction should be discarded if it has not been executed."},"sender":{"$ref":"#/components/schemas/AccountAddress","description":"The standardized representation of the sender's account address in the target VM."},"sequence_number":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The sequence number of the sender's account in the target VM."},"gas_unit_price":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The amount of Supra that the sender is willing to pay per unit of gas."},"max_gas_amount":{"oneOf":[{"type":"integer","format":"u-int64","minimum":0}],"description":"The maximum amount of gas that the sender is willing to spend."}}},"AccountAddress":{"type":"string","description":"Hex encoded account address."},"TransactionOutput":{"oneOf":[{"type":"object","required":["Dkg"],"properties":{"Dkg":{"$ref":"#/components/schemas/TxExecutionStatus"}}},{"type":"string","enum":["Empty"]},{"type":"object","required":["Move"],"properties":{"Move":{"$ref":"#/components/schemas/MoveTransactionOutput"}}},{"type":"object","required":["Oracle"],"properties":{"Oracle":{"$ref":"#/components/schemas/TxExecutionStatus"}}}],"description":"[crate::api::v1::TransactionOutput] with all fields in human-readable format."},"TxExecutionStatus":{"type":"string","enum":["Success","Fail","Invalid","PendingAfterExecution","Pending"]},"MoveTransactionOutput":{"type":"object","description":"The execution output of a Move transaction.","required":["gas_used","events","vm_status"],"properties":{"gas_used":{"type":"integer","format":"u-int64","description":"The gas used by the transaction.","minimum":0},"events":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"vm_status":{"type":"string","description":"A message summarizing the execution result produced by the MoveVM."}}},"Event":{"type":"object","description":"On-chain event.","required":["guid","sequence_number","type","data"],"properties":{"guid":{"type":"string","description":"The globally unique identifier of this event stream."},"sequence_number":{"type":"integer","format":"u-int64","minimum":0},"type":{"type":"string","description":"The `MoveType` of the event"},"data":{"description":"The JSON representation of the event"}}},"BlockMetadataInfo":{"type":"object","description":"Details of block metadata transaction execution","required":["hash","output","status"],"properties":{"hash":{"$ref":"#/components/schemas/Hash"},"block_header":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlockHeaderInfo","description":"Metadata about the block containing the transaction, if any.\nThis field will not be set for transactions that are returned as a part of a block."}]},"output":{"$ref":"#/components/schemas/TransactionOutput"},"status":{"$ref":"#/components/schemas/TxExecutionStatus"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://supraoracles.gitbook.io/supra/network/move/rest-api/testnet/accounts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
