Initialize Deposit Token

post

{baseUrl}/v1/{tokenizedDepositContractAddress}/initializeDepositToken

Initializes the deposit token with its token address, currency, and conversion rate.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Example: 0
  • Example: currency value
  • Example: {"tokenId":"tokenId value","tokenName":"tokenName value","tokenDesc":"tokenDesc value","tokenStandard":"tokenStandard value","tokenType":"tokenType value","tokenUnit":"tokenUnit value","behaviors":["behaviors value"],"decimals":"decimals value","mintable":{"maxMintQuantity":"maxMintQuantity value","mintApprovalRequired":"mintApprovalRequired value"},"burnable":{"burnApprovalRequired":"burnApprovalRequired value"}}
  • Example: {{walletId}}
Example:
{
    "walletId":"{{walletId}}",
    "token":"{\"tokenId\":\"tokenId value\",\"tokenName\":\"tokenName value\",\"tokenDesc\":\"tokenDesc\nvalue\",\"tokenStandard\":\"tokenStandard value\",\"tokenType\":\"tokenType\nvalue\",\"tokenUnit\":\"tokenUnit value\",\"behaviors\":[\"behaviors value\"],\"decimals\":\"decimals\nvalue\",\"mintable\":{\"maxMintQuantity\":\"maxMintQuantity value\",\"mintApprovalRequired\":\"mintApprovalRequired\nvalue\"},\"burnable\":{\"burnApprovalRequired\":\"burnApprovalRequired\nvalue\"}}",
    "currency":"currency value",
    "conversionRate":0
}
Security
Back to Top

Response

Supported Media Types

200 Response

Successful rpc-proxy transaction response.
Body ()
Root Schema : RpcProxy_TransactionSuccessResponse
Type: object
Show Source
Nested Schema : decoded
Type: object
Show Source
Nested Schema : events
Type: array
Show Source
Nested Schema : RpcProxy_DecodedFunction
Type: object
Show Source
Nested Schema : RpcProxy_DecodedMeta
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : topics
Type: array
Show Source
Nested Schema : RpcProxy_DecodedValue
Type: object
Show Source
Nested Schema : issues
Type: array
Show Source
Nested Schema : items
Type: object
Additional Properties Allowed: true

400 Response

Wrapper validation failure or rpc-proxy bad-request response.

404 Response

Unregistered endpoint or rpc-proxy not-found response.

502 Response

Wrapper-to-rpc-proxy failure or rpc-proxy gateway response.

Default Response

rpc-proxy status, content type, and response body are passed through unchanged.
Back to Top