GET
/api/v1/contractGet a token
Returns one token in full: its supply figures and decimals, its whitelist setting, its deployment status and bytecode hash, and which of the vault's signers have signed.
AccessRequires a permission in the workspace
MANAGE_WORKSPACEThe response is a Contract, documented under
Shared objects. It is the single-token counterpart of
GET /api/v1/contracts, and the place to watch a deployment
started by POST /api/v1/create-token: status moves
through the token deployment statuses, and the
signers array shows who has signed so far.
The token must belong to the workspace you pass in workspace_id, and this call
requires MANAGE_WORKSPACE in that workspace. The list call is the one to reach
for when the caller holds only PAYMENT_APPROVE or VIEW_BALANCES.
Query parameters
contract_uidnumberrequiredThe token to show, as returned by create-token or contracts.
workspace_idnumberrequiredThe workspace the token belongs to. You must hold MANAGE_WORKSPACE in it.
Was this page helpful?