Assets API
Documentation for Blockparty Assets API
Queries
contract
Response
Returns a Contract
Arguments
| Name | Description |
|---|---|
|
contracts
Response
Returns a ContractList!
Arguments
| Name | Description |
|---|---|
|
Default = |
|
Default = |
|
|
|
|
|
Variables
{
"first": 10,
"skip": 0,
"where": ContractFilter,
"orderBy": "ADDRESS",
"ordering": "ASC"
}
token
Response
Returns a Token
tokens
Response
Returns a TokenList!
Arguments
| Name | Description |
|---|---|
|
Default = |
|
Default = |
|
|
|
|
|
|
|
Example
Query
query tokens(
$first: Int,
$skip: Int,
$where: TokenFilter,
$orderBy: TokenOrderBy,
$ordering: Ordering,
$whereContract: ContractFilter
) {
tokens(
first: $first,
skip: $skip,
where: $where,
orderBy: $orderBy,
ordering: $ordering,
whereContract: $whereContract
) {
numEntries
cursor
entries {
...TokenFragment
}
}
}
Types
Contract
Fields
| Field Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Arguments======= ======= ======= ======= ======= |
ContractFilter
Fields
| Input Field | Description |
|---|---|
|
|
|
|
|
|
|
|
|
ContractList
Fields
| Field Name | Description |
|---|---|
|
|
|
|
|
Int
String
Token
Fields
| Field Name | Description |
|---|---|
|
|
|
|
|
|
|
Transaction
Fields
| Field Name | Description |
|---|---|
|
|
|
|
|
|
|
|
|