- Start Here
- Networks
- Access Control List (ACL)
- Accounts (Addresses)
- Simulator
- Audits
- Unpack
- Abstract Syntax Tree (AST)
- Get Contract ASTGET
- Get Contract ConstantsGET
- Get Contract ConstructorsGET
- Get Contract DefinitionsGET
- Get Contract DocumentationGET
- Get Contract EnumsGET
- Get Contract ErrorsGET
- Get Contract EventsGET
- Get Contract FunctionsGET
- Get Contract ImportsGET
- Get Contract InterfacesGET
- Get Contract LibrariesGET
- Get Contract LicenseGET
- Get Contract State VariablesGET
- Get Contract StatisticsGET
- Get Contract StructsGET
- Control Flow Graphs (CFG)
- Constructors
- Contracts
- Metadata
- Tokens
- Variables
- Functions
- Events
- Standards
- Statistics
List Tokens
GET
https://api.unpack.dev/v1/tokens/{networkId}
Tokens
Last modified:2024-05-31 11:02:21
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
networkId
integer <int64>
required
Default:
1
Example:
1
Query Params
limit
integer <int64>
optional
Default:
10
Example:
10
offset
integer <int64>
optional
Default:
0
Example:
0
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.unpack.dev/v1/tokens/1'
Responses
🟢200OK
application/json
Body
array of:
$schema
string <uri>
read-onlyoptional
Example:
https://api.unpack.dev/schemas/Token.json
completedStates
array[string]
required
contractAddress
string
required
createdAt
string <date-time>
required
decimals
integer <int64>
required
failedStates
array[string]
required
name
string
required
networkId
integer <int64>
required
partial
boolean
required
processed
boolean
required
symbol
string
required
totalSupply
string
required
updatedAt
string <date-time>
required
valid
boolean
required
Example
[
{
"$schema": "https://api.unpack.dev/schemas/Token.json",
"completedStates": [
"string"
],
"contractAddress": "string",
"createdAt": "2019-08-24T14:15:22Z",
"decimals": 0,
"failedStates": [
"string"
],
"name": "string",
"networkId": 0,
"partial": true,
"processed": true,
"symbol": "string",
"totalSupply": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"valid": true
}
]
🔴500Error
Modified at 2024-05-31 11:02:21