Fetch contract ABI from blockchain
cURL
curl --request POST \ --url https://sandbox.oumla.com/api/v1/deployed-contracts/fetch-abi \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "contractAddress": "<string>", "network": "<string>" } '
200
Example
{ "contractAbi": { "abi": [ {} ], "contractAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb", "network": "ETH", "status": "SUCCESS", "source": "blockchain", "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 fetch contract abi
Fetch contract abi request object
ABI successfully fetched
Fetch contract abi response object
Show child attributes
Was this page helpful?