Link an existing contract
cURL
curl --request POST \ --url https://sandbox.oumla.com/api/v1/tokenization/tokens/link \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "contractAddress": "<string>", "network": "<string>", "displayName": "<string>", "refId": "<string>", "type": "<string>" } '
200
Example
{ "link": { "id": "123e4567-e89b-12d3-a456-426614174000", "status": "ACTIVE", "type": "ERC721", "displayName": "My Token", "tokenMetadata": { "name": "My Token", "symbol": "MTK", "decimals": 18, "standard": "ERC721", "network": "ETH", "contractAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "contractTemplateId": "123e4567-e89b-12d3-a456-426614174000", "contractDeploymentId": "123e4567-e89b-12d3-a456-426614174000", "addressId": "123e4567-e89b-12d3-a456-426614174000" } } }
API key for authentication. Obtain your API key from the dashboard.
SDK version header
Request body for link contract
Link contract request object
Token successfully linked
Token data object
Show child attributes
Was this page helpful?