Issue a new token

POST {{baseUrl}}/tokenization/tokens

Facilitates the creation of a new token, supporting both EVM-based and Stellar/Ripple platforms. For EVM, it deploys the corresponding contract template to the blockchain and links the token to the workspace. For Stellar/Ripple, it links a newly created token directly to the workspace without deploying a contract. Returns the token link with status PENDING until the token is deployed or SUCCESS if no deployment is needed.

Request Body

{"vaultAccountId"=>"<string>", "createParams"=>{"contractId"=>"<string>", "constructorParams"=>[[{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}], "value"=>"<string>", "functionValue"=>{"inputs"=>[{"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}], "name"=>"<string>"}}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}], "value"=>"<string>", "functionValue"=>{"inputs"=>[{"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}], "name"=>"<string>"}}], [{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}], "value"=>"<string>", "functionValue"=>{"inputs"=>[{"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}], "name"=>"<string>"}}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}, {"name"=>"<string>", "type"=>"<string>", "description"=>"<string>", "internalType"=>"<string>", "components"=>[{"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}, {"value"=>"<Circular reference to #/components/schemas/Parameter detected>"}]}], "value"=>"<string>", "functionValue"=>{"inputs"=>[{"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}, {"value"=>"<Circular reference to #/components/schemas/ParameterWithValue detected>"}], "name"=>"<string>"}}]]}, "blockchainId"=>"<string>", "assetId"=>"<string>", "displayName"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Idempotency-KeystringA unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;COMPLETED&quot;,&quot;type&quot;:&quot;FUNGIBLE_TOKEN&quot;,&quot;refId&quot;:&quot;\u003cstring\u003e&quot;,&quot;displayName&quot;:&quot;\u003cstring\u003e&quot;,&quot;tokenMetadata&quot;:{&quot;assetId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;symbol&quot;:&quot;\u003cstring\u003e&quot;,&quot;networkProtocol&quot;:&quot;\u003cstring\u003e&quot;,&quot;totalSupply&quot;:&quot;\u003cstring\u003e&quot;,&quot;holdersCount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;contractAddress&quot;:&quot;\u003cstring\u003e&quot;,&quot;issuerAddress&quot;:&quot;\u003cstring\u003e&quot;,&quot;testnet&quot;:&quot;\u003cboolean\u003e&quot;,&quot;blockchain&quot;:&quot;\u003cstring\u003e&quot;,&quot;decimals&quot;:&quot;\u003cnumber\u003e&quot;,&quot;vaultAccountId&quot;:&quot;\u003cstring\u003e&quot;}}