Skip to content

Latest commit

 

History

History
600 lines (464 loc) · 57.3 KB

TokensApi.md

File metadata and controls

600 lines (464 loc) · 57.3 KB

Bzzhh\Tzkt\TokensApi

All URIs are relative to https://api.tzkt.io, except if the operation defines another base path.

Method HTTP request Description
tokensGetTokenBalances() GET /v1/tokens/balances Get token balances
tokensGetTokenBalances2() GET /v1/tokens/historical_balances/{level} Get historical token balances
tokensGetTokenBalancesCount() GET /v1/tokens/balances/count Get token balances count
tokensGetTokenTransfers() GET /v1/tokens/transfers Get token transfers
tokensGetTokenTransfersCount() GET /v1/tokens/transfers/count Get token transfers count
tokensGetTokens() GET /v1/tokens Get tokens
tokensGetTokensCount() GET /v1/tokens/count Get tokens count

tokensGetTokenBalances()

tokensGetTokenBalances($id, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $first_level, $first_time, $last_level, $last_time, $indexed_at, $sort, $offset, $limit, $select): \Bzzhh\Tzkt\Model\TokenBalance[]

Get token balances

Returns a list of token balances.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id.   Click on the parameter to expand more details.
$account = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by account address.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId`.   Click on the parameter to expand more details.
$token_contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$token_standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$token_metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`.   Click on the parameter to expand more details.
$balance = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by balance.   Click on the parameter to expand more details.
$first_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the balance was first changed.   Click on the parameter to expand more details.
$first_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the balance was first changed.   Click on the parameter to expand more details.
$last_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the balance was last seen.   Click on the parameter to expand more details.
$last_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the balance was last changed.   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter
$sort = new \Bzzhh\Tzkt\Model\AccountsGetSortParameter(); // AccountsGetSortParameter | Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below.   Click on the parameter to expand more details.
$offset = new \Bzzhh\Tzkt\Model\AccountsGetOffsetParameter(); // AccountsGetOffsetParameter | Specifies which or how many items should be skipped.   Click on the parameter to expand more details.
$limit = 56; // int | Maximum number of items to return.
$select = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysSelectParameter(); // BigMapsGetBigMapKeysSelectParameter | Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`).   Note, if you select just one field, the response will be flatten into a simple array of values.   Click on the parameter to expand the details.

try {
    $result = $apiInstance->tokensGetTokenBalances($id, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $first_level, $first_time, $last_level, $last_time, $indexed_at, $sort, $offset, $limit, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokenBalances: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Click on the parameter to expand more details. [optional]
account AccountsGetDelegateParameter Filter by account address. Click on the parameter to expand more details. [optional]
token_id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId`. Click on the parameter to expand more details. [optional]
token_contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
token_standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
token_metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`. Click on the parameter to expand more details. [optional]
balance TicketsGetTicketBalancesCountBalanceParameter Filter by balance. Click on the parameter to expand more details. [optional]
first_level AccountsGetIdParameter Filter by level of the block where the balance was first changed. Click on the parameter to expand more details. [optional]
first_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the balance was first changed. Click on the parameter to expand more details. [optional]
last_level AccountsGetIdParameter Filter by level of the block where the balance was last seen. Click on the parameter to expand more details. [optional]
last_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the balance was last changed. Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]
sort AccountsGetSortParameter Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below. Click on the parameter to expand more details. [optional]
offset AccountsGetOffsetParameter Specifies which or how many items should be skipped. Click on the parameter to expand more details. [optional]
limit int Maximum number of items to return. [optional]
select BigMapsGetBigMapKeysSelectParameter Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`). Note, if you select just one field, the response will be flatten into a simple array of values. Click on the parameter to expand the details. [optional]

Return type

\Bzzhh\Tzkt\Model\TokenBalance[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokenBalances2()

tokensGetTokenBalances2($level, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $sort, $offset, $limit, $select): \Bzzhh\Tzkt\Model\TokenBalanceShort[]

Get historical token balances

Returns a list of token balances at the end of the specified block. Note, this endpoint is quite heavy, therefore at least one of the filters (account, token.id, token.contract with token.tokenId) must be specified.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$level = 56; // int | Level of the block at the end of which historical balances must be calculated
$account = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by account address.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId`.   Click on the parameter to expand more details.
$token_contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$token_standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$token_metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`.   Click on the parameter to expand more details.
$balance = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by balance.   Click on the parameter to expand more details.
$sort = new \Bzzhh\Tzkt\Model\AccountsGetSortParameter(); // AccountsGetSortParameter | Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below.   Click on the parameter to expand more details.
$offset = new \Bzzhh\Tzkt\Model\AccountsGetOffsetParameter(); // AccountsGetOffsetParameter | Specifies which or how many items should be skipped.   Click on the parameter to expand more details.
$limit = 56; // int | Maximum number of items to return.
$select = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysSelectParameter(); // BigMapsGetBigMapKeysSelectParameter | Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`).   Note, if you select just one field, the response will be flatten into a simple array of values.   Click on the parameter to expand the details.

try {
    $result = $apiInstance->tokensGetTokenBalances2($level, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $sort, $offset, $limit, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokenBalances2: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
level int Level of the block at the end of which historical balances must be calculated
account AccountsGetDelegateParameter Filter by account address. Click on the parameter to expand more details. [optional]
token_id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId`. Click on the parameter to expand more details. [optional]
token_contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
token_standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
token_metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`. Click on the parameter to expand more details. [optional]
balance TicketsGetTicketBalancesCountBalanceParameter Filter by balance. Click on the parameter to expand more details. [optional]
sort AccountsGetSortParameter Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below. Click on the parameter to expand more details. [optional]
offset AccountsGetOffsetParameter Specifies which or how many items should be skipped. Click on the parameter to expand more details. [optional]
limit int Maximum number of items to return. [optional]
select BigMapsGetBigMapKeysSelectParameter Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`). Note, if you select just one field, the response will be flatten into a simple array of values. Click on the parameter to expand the details. [optional]

Return type

\Bzzhh\Tzkt\Model\TokenBalanceShort[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokenBalancesCount()

tokensGetTokenBalancesCount($id, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $first_level, $first_time, $last_level, $last_time, $indexed_at): int

Get token balances count

Returns a total number of token balances.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id.   Click on the parameter to expand more details.
$account = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by account address.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId`.   Click on the parameter to expand more details.
$token_contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$token_standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$token_metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`.   Click on the parameter to expand more details.
$balance = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by balance.   Click on the parameter to expand more details.
$first_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the balance was first changed.   Click on the parameter to expand more details.
$first_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the balance was first changed.   Click on the parameter to expand more details.
$last_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the balance was last seen.   Click on the parameter to expand more details.
$last_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the balance was last changed.   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter

try {
    $result = $apiInstance->tokensGetTokenBalancesCount($id, $account, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $balance, $first_level, $first_time, $last_level, $last_time, $indexed_at);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokenBalancesCount: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Click on the parameter to expand more details. [optional]
account AccountsGetDelegateParameter Filter by account address. Click on the parameter to expand more details. [optional]
token_id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId`. Click on the parameter to expand more details. [optional]
token_contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
token_standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
token_metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`. Click on the parameter to expand more details. [optional]
balance TicketsGetTicketBalancesCountBalanceParameter Filter by balance. Click on the parameter to expand more details. [optional]
first_level AccountsGetIdParameter Filter by level of the block where the balance was first changed. Click on the parameter to expand more details. [optional]
first_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the balance was first changed. Click on the parameter to expand more details. [optional]
last_level AccountsGetIdParameter Filter by level of the block where the balance was last seen. Click on the parameter to expand more details. [optional]
last_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the balance was last changed. Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]

Return type

int

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokenTransfers()

tokensGetTokenTransfers($id, $level, $timestamp, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $anyof, $from, $to, $amount, $transaction_id, $origination_id, $migration_id, $indexed_at, $sort, $offset, $limit, $select): \Bzzhh\Tzkt\Model\TokenTransfer[]

Get token transfers

Returns a list of token transfers.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id.   Click on the parameter to expand more details.
$level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the transfer was made.   Click on the parameter to expand more details.
$timestamp = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the transfer was made.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId`.   Click on the parameter to expand more details.
$token_contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$token_standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$token_metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`.   Click on the parameter to expand more details.
$anyof = new \Bzzhh\Tzkt\Model\BlocksGetAnyofParameter(); // BlocksGetAnyofParameter | Filter by any of the specified fields (`from` or `to`). Example: `anyof.from.to=tz1...` will return transfers where `from` OR `to` is equal to the specified value. This parameter is useful when you need to get both incoming and outgoing transfers of the account at once.   Click on the parameter to expand more details.
$from = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by sender account address.   Click on the parameter to expand more details.
$to = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by target account address.   Click on the parameter to expand more details.
$amount = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by amount.   Click on the parameter to expand more details.
$transaction_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the transaction, caused the token transfer.   Click on the parameter to expand more details.
$origination_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the origination, caused the token transfer.   Click on the parameter to expand more details.
$migration_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the migration, caused the token transfer.   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter
$sort = new \Bzzhh\Tzkt\Model\AccountsGetSortParameter(); // AccountsGetSortParameter | Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below.   Click on the parameter to expand more details.
$offset = new \Bzzhh\Tzkt\Model\AccountsGetOffsetParameter(); // AccountsGetOffsetParameter | Specifies which or how many items should be skipped.   Click on the parameter to expand more details.
$limit = 56; // int | Maximum number of items to return.
$select = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysSelectParameter(); // BigMapsGetBigMapKeysSelectParameter | Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`).   Note, if you select just one field, the response will be flatten into a simple array of values.   Click on the parameter to expand the details.

try {
    $result = $apiInstance->tokensGetTokenTransfers($id, $level, $timestamp, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $anyof, $from, $to, $amount, $transaction_id, $origination_id, $migration_id, $indexed_at, $sort, $offset, $limit, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokenTransfers: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Click on the parameter to expand more details. [optional]
level AccountsGetIdParameter Filter by level of the block where the transfer was made. Click on the parameter to expand more details. [optional]
timestamp BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the transfer was made. Click on the parameter to expand more details. [optional]
token_id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId`. Click on the parameter to expand more details. [optional]
token_contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
token_standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
token_metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`. Click on the parameter to expand more details. [optional]
anyof BlocksGetAnyofParameter Filter by any of the specified fields (`from` or `to`). Example: `anyof.from.to=tz1...` will return transfers where `from` OR `to` is equal to the specified value. This parameter is useful when you need to get both incoming and outgoing transfers of the account at once. Click on the parameter to expand more details. [optional]
from AccountsGetDelegateParameter Filter by sender account address. Click on the parameter to expand more details. [optional]
to AccountsGetDelegateParameter Filter by target account address. Click on the parameter to expand more details. [optional]
amount TicketsGetTicketBalancesCountBalanceParameter Filter by amount. Click on the parameter to expand more details. [optional]
transaction_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the transaction, caused the token transfer. Click on the parameter to expand more details. [optional]
origination_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the origination, caused the token transfer. Click on the parameter to expand more details. [optional]
migration_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the migration, caused the token transfer. Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]
sort AccountsGetSortParameter Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below. Click on the parameter to expand more details. [optional]
offset AccountsGetOffsetParameter Specifies which or how many items should be skipped. Click on the parameter to expand more details. [optional]
limit int Maximum number of items to return. [optional]
select BigMapsGetBigMapKeysSelectParameter Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`). Note, if you select just one field, the response will be flatten into a simple array of values. Click on the parameter to expand the details. [optional]

Return type

\Bzzhh\Tzkt\Model\TokenTransfer[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokenTransfersCount()

tokensGetTokenTransfersCount($id, $level, $timestamp, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $anyof, $from, $to, $amount, $transaction_id, $origination_id, $migration_id, $indexed_at): int

Get token transfers count

Returns the total number of token transfers.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id.   Click on the parameter to expand more details.
$level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the transfer was made.   Click on the parameter to expand more details.
$timestamp = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the transfer was made.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId`.   Click on the parameter to expand more details.
$token_contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$token_standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$token_metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`.   Click on the parameter to expand more details.
$anyof = new \Bzzhh\Tzkt\Model\BlocksGetAnyofParameter(); // BlocksGetAnyofParameter | Filter by any of the specified fields (`from` or `to`). Example: `anyof.from.to=tz1...` will return transfers where `from` OR `to` is equal to the specified value. This parameter is useful when you need to get both incoming and outgoing transfers of the account at once.   Click on the parameter to expand more details.
$from = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by sender account address.   Click on the parameter to expand more details.
$to = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by target account address.   Click on the parameter to expand more details.
$amount = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by amount.   Click on the parameter to expand more details.
$transaction_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the transaction, caused the token transfer.   Click on the parameter to expand more details.
$origination_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the origination, caused the token transfer.   Click on the parameter to expand more details.
$migration_id = new \Bzzhh\Tzkt\Model\StakingGetStakingUpdatesCountRoundingErrorParameter(); // StakingGetStakingUpdatesCountRoundingErrorParameter | Filter by id of the migration, caused the token transfer.   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter

try {
    $result = $apiInstance->tokensGetTokenTransfersCount($id, $level, $timestamp, $token_id, $token_contract, $token_token_id, $token_standard, $token_metadata, $anyof, $from, $to, $amount, $transaction_id, $origination_id, $migration_id, $indexed_at);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokenTransfersCount: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Click on the parameter to expand more details. [optional]
level AccountsGetIdParameter Filter by level of the block where the transfer was made. Click on the parameter to expand more details. [optional]
timestamp BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the transfer was made. Click on the parameter to expand more details. [optional]
token_id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId`. Click on the parameter to expand more details. [optional]
token_contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
token_standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
token_metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `token.metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by, for example: `?token.metadata.symbol.in=kUSD,uUSD`. Click on the parameter to expand more details. [optional]
anyof BlocksGetAnyofParameter Filter by any of the specified fields (`from` or `to`). Example: `anyof.from.to=tz1...` will return transfers where `from` OR `to` is equal to the specified value. This parameter is useful when you need to get both incoming and outgoing transfers of the account at once. Click on the parameter to expand more details. [optional]
from AccountsGetDelegateParameter Filter by sender account address. Click on the parameter to expand more details. [optional]
to AccountsGetDelegateParameter Filter by target account address. Click on the parameter to expand more details. [optional]
amount TicketsGetTicketBalancesCountBalanceParameter Filter by amount. Click on the parameter to expand more details. [optional]
transaction_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the transaction, caused the token transfer. Click on the parameter to expand more details. [optional]
origination_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the origination, caused the token transfer. Click on the parameter to expand more details. [optional]
migration_id StakingGetStakingUpdatesCountRoundingErrorParameter Filter by id of the migration, caused the token transfer. Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]

Return type

int

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokens()

tokensGetTokens($id, $contract, $token_id, $standard, $first_minter, $first_level, $first_time, $last_level, $last_time, $metadata, $indexed_at, $sort, $offset, $limit, $select): \Bzzhh\Tzkt\Model\Token[]

Get tokens

Returns a list of tokens.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId` nat value.   Click on the parameter to expand more details.
$contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$first_minter = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by address of the first minter.   Click on the parameter to expand more details.
$first_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the token was first seen.   Click on the parameter to expand more details.
$first_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the token was first seen.   Click on the parameter to expand more details.
$last_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the token was last seen.   Click on the parameter to expand more details.
$last_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the token was last seen.   Click on the parameter to expand more details.
$metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata.   Note, this parameter supports the following format: `metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by (for example, `?metadata.symbol.in=kUSD,uUSD`).   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter
$sort = new \Bzzhh\Tzkt\Model\AccountsGetSortParameter(); // AccountsGetSortParameter | Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below.   Click on the parameter to expand more details.
$offset = new \Bzzhh\Tzkt\Model\AccountsGetOffsetParameter(); // AccountsGetOffsetParameter | Specifies which or how many items should be skipped.   Click on the parameter to expand more details.
$limit = 56; // int | Maximum number of items to return.
$select = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysSelectParameter(); // BigMapsGetBigMapKeysSelectParameter | Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`).   Note, if you select just one field, the response will be flatten into a simple array of values.   Click on the parameter to expand the details.

try {
    $result = $apiInstance->tokensGetTokens($id, $contract, $token_id, $standard, $first_minter, $first_level, $first_time, $last_level, $last_time, $metadata, $indexed_at, $sort, $offset, $limit, $select);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokens: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId` nat value. Click on the parameter to expand more details. [optional]
contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
first_minter AccountsGetDelegateParameter Filter by address of the first minter. Click on the parameter to expand more details. [optional]
first_level AccountsGetIdParameter Filter by level of the block where the token was first seen. Click on the parameter to expand more details. [optional]
first_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the token was first seen. Click on the parameter to expand more details. [optional]
last_level AccountsGetIdParameter Filter by level of the block where the token was last seen. Click on the parameter to expand more details. [optional]
last_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the token was last seen. Click on the parameter to expand more details. [optional]
metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by (for example, `?metadata.symbol.in=kUSD,uUSD`). Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]
sort AccountsGetSortParameter Sorts items (asc or desc) by the specified field. You can see what fields can be used for sorting in the response description, below. Click on the parameter to expand more details. [optional]
offset AccountsGetOffsetParameter Specifies which or how many items should be skipped. Click on the parameter to expand more details. [optional]
limit int Maximum number of items to return. [optional]
select BigMapsGetBigMapKeysSelectParameter Specify a comma-separated list of fields to include into response or leave it undefined to get default set of fields. This parameter accepts values of the following format: `{field}{path?}{as alias?}`, so you can do deep selection (for example, `?select=balance,token.metadata.symbol as token,...`). Note, if you select just one field, the response will be flatten into a simple array of values. Click on the parameter to expand the details. [optional]

Return type

\Bzzhh\Tzkt\Model\Token[]

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

tokensGetTokensCount()

tokensGetTokensCount($id, $contract, $token_id, $standard, $first_minter, $first_level, $first_time, $last_level, $last_time, $metadata, $indexed_at): int

Get tokens count

Returns a total number of tokens.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Bzzhh\Tzkt\Api\TokensApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);
$id = new \Bzzhh\Tzkt\Model\AccountsGetBalanceParameter(); // AccountsGetBalanceParameter | Filter by internal TzKT id. Note, this is not the same as `tokenId` nat value.   Click on the parameter to expand more details.
$contract = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by contract address.   Click on the parameter to expand more details.
$token_id = new \Bzzhh\Tzkt\Model\TicketsGetTicketBalancesCountBalanceParameter(); // TicketsGetTicketBalancesCountBalanceParameter | Filter by tokenId (for FA1.2 tokens tokenId is always `\"0\"`).   Click on the parameter to expand more details.
$standard = new \Bzzhh\Tzkt\Model\TokensGetTokensCountStandardParameter(); // TokensGetTokensCountStandardParameter | Filter by token standard (`fa1.2` or `fa2`).   Click on the parameter to expand more details.
$first_minter = new \Bzzhh\Tzkt\Model\AccountsGetDelegateParameter(); // AccountsGetDelegateParameter | Filter by address of the first minter.   Click on the parameter to expand more details.
$first_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the token was first seen.   Click on the parameter to expand more details.
$first_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the token was first seen.   Click on the parameter to expand more details.
$last_level = new \Bzzhh\Tzkt\Model\AccountsGetIdParameter(); // AccountsGetIdParameter | Filter by level of the block where the token was last seen.   Click on the parameter to expand more details.
$last_time = new \Bzzhh\Tzkt\Model\BigMapsGetBigMapKeysFirstTimeParameter(); // BigMapsGetBigMapKeysFirstTimeParameter | Filter by timestamp (ISO 8601) of the block where the token was last seen.   Click on the parameter to expand more details.
$metadata = new \Bzzhh\Tzkt\Model\AccountsGetOperationsParameterParameter(); // AccountsGetOperationsParameterParameter | Filter by metadata.   Note, this parameter supports the following format: `metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by (for example, `?metadata.symbol.in=kUSD,uUSD`).   Click on the parameter to expand more details.
$indexed_at = new \Bzzhh\Tzkt\Model\CommitmentsGetAllActivationLevelParameter(); // CommitmentsGetAllActivationLevelParameter

try {
    $result = $apiInstance->tokensGetTokensCount($id, $contract, $token_id, $standard, $first_minter, $first_level, $first_time, $last_level, $last_time, $metadata, $indexed_at);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TokensApi->tokensGetTokensCount: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
id AccountsGetBalanceParameter Filter by internal TzKT id. Note, this is not the same as `tokenId` nat value. Click on the parameter to expand more details. [optional]
contract AccountsGetDelegateParameter Filter by contract address. Click on the parameter to expand more details. [optional]
token_id TicketsGetTicketBalancesCountBalanceParameter Filter by tokenId (for FA1.2 tokens tokenId is always `&quot;0&quot;`). Click on the parameter to expand more details. [optional]
standard TokensGetTokensCountStandardParameter Filter by token standard (`fa1.2` or `fa2`). Click on the parameter to expand more details. [optional]
first_minter AccountsGetDelegateParameter Filter by address of the first minter. Click on the parameter to expand more details. [optional]
first_level AccountsGetIdParameter Filter by level of the block where the token was first seen. Click on the parameter to expand more details. [optional]
first_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the token was first seen. Click on the parameter to expand more details. [optional]
last_level AccountsGetIdParameter Filter by level of the block where the token was last seen. Click on the parameter to expand more details. [optional]
last_time BigMapsGetBigMapKeysFirstTimeParameter Filter by timestamp (ISO 8601) of the block where the token was last seen. Click on the parameter to expand more details. [optional]
metadata AccountsGetOperationsParameterParameter Filter by metadata. Note, this parameter supports the following format: `metadata{.path?}{.mode?}=...`, so you can specify a path to a particular field to filter by (for example, `?metadata.symbol.in=kUSD,uUSD`). Click on the parameter to expand more details. [optional]
indexed_at CommitmentsGetAllActivationLevelParameter [optional]

Return type

int

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]