Skip to main content

/extended/v1/tokens/{contractId}/ft/metadata REST API Endpoint

Retrieves the metadata for fungible tokens for a given contract id.

Updated on
Nov 7, 2023

/extended/v1/tokens/{contractId}/ft/metadata REST API Endpoint

Please note that this endpoint has been deprecated in favor of the Token Metadata Service.

Path Parameters

contractId
string
REQUIRED
token's contract id.

Returns

array[object]
array
Returns a list of fungible tokens metadata
token_uri
string
An optional string that is a valid URI which resolves to this token's metadata. Can be empty.
name
string
Identifies the asset to which this token represents.
description
string
Describes the asset to which this token represents.
image_uri
string
A URI pointing to a resource with mime type image/* representing the asset to which this token represents. The API may provide a URI to a cached resource, depending on configuration. Otherwise, this can be the same value as the canonical image URI.
image_canonical_uri
string
The original image URI specified by the contract. A URI pointing to a resource with mime type image/* representing the asset to which this token represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive.
symbol
string
A shorter representation of a token. This is sometimes referred to as a 'ticker'. Examples: 'STX', 'COOL', etc. Typically, a token could be referred to as $SYMBOL when referencing it in writing.
decimals
number
The number of decimal places in a token.
tx_id
string
Tx id that deployed the contract.
sender_address
string
Principle that deployed the contract.
Request
1
curl -X 'GET' \
2
'https://docs-demo.stacks-mainnet.quiknode.pro/extended/v1/tokens/SP1H1733V5MZ3SZ9XRW9FKYGEZT0JDGEB8Y634C7R.miamicoin-token-v2/ft/metadata' \
3
-H 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free