Add ABI for a deployed contract
cURL
curl --request POST \ --url https://sandbox.oumla.com/api/v1/deployed-contracts/add-abi \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "contractAddress": "<string>", "network": "<string>", "name": "<string>", "abi": [ {} ] } '
200
Example
{ "result": { "contractAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "network": "ETH", "name": "My Contract", "abi": [ {} ], "status": "SUCCESS", "source": "tenant_database_updated", "message": "Tenant ABI updated successfully", "tenantId": "123e4567-e89b-12d3-a456-426614174000", "userId": "user_123" } }
API key for authentication. Obtain your API key from the dashboard.
SDK version header
Request body for add contract abi
Add contract abi request object
ABI successfully added
Add contract abi response object
Show child attributes
Was this page helpful?