Fetch contract ABI from chain/explorer by address and network.
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>' \ --header 'x-sdk-version: <x-sdk-version>' \ --data ' { "contractAddress": "<string>", "networkId": "<string>" } '
{ "contractAbi": { "abi": {}, "contractAddress": "<string>", "network": "<string>", "status": "<string>", "source": "<string>", "tenantId": "<string>", "userId": "<string>" } }
API key for authentication
SDK version header
Fetched contract ABI
Show child attributes
Was this page helpful?