{ "opencollection": "1.0.0", "info": { "name": "Fireblocks Blockchains and Assets Approval Requests Whitelisted Contracts API", "version": "1.8.0" }, "items": [ { "info": { "name": "Whitelisted Contracts", "type": "folder" }, "items": [ { "info": { "name": "List Whitelisted Contracts", "type": "http" }, "http": { "method": "GET", "url": "https://api.fireblocks.io/v1/contracts" }, "docs": "Gets a list of whitelisted contracts.\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer." }, { "info": { "name": "Create a Whitelisted Contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.fireblocks.io/v1/contracts", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new whitelisted contract.\n\nLearn more about Whitelisted Smart Contracts [here](https://developers.fireblocks.com/docs/whitelist-addresses#contracts).\n\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." }, { "info": { "name": "Find a Specific Whitelisted Contract", "type": "http" }, "http": { "method": "GET", "url": "https://api.fireblocks.io/v1/contracts/:contractId", "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The ID of the contract to return" } ] }, "docs": "Returns a whitelisted contract by Fireblocks Contract ID.\n\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." }, { "info": { "name": "Delete a Whitelisted Contract", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fireblocks.io/v1/contracts/:contractId", "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The ID of the contract to delete" } ] }, "docs": "Deletes a whitelisted contract by Fireblocks Contract ID.\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." }, { "info": { "name": "Find a whitelisted contract's asset", "type": "http" }, "http": { "method": "GET", "url": "https://api.fireblocks.io/v1/contracts/:contractId/:assetId", "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The ID of the contract" }, { "name": "assetId", "value": "", "type": "path", "description": "The ID of the asset to return" } ] }, "docs": "Returns a whitelisted contract's asset by ID.\n\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." }, { "info": { "name": "Add an Asset to a Whitelisted Contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.fireblocks.io/v1/contracts/:contractId/:assetId", "headers": [ { "name": "Idempotency-Key", "value": "" } ], "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The ID of the contract" }, { "name": "assetId", "value": "", "type": "path", "description": "The ID of the asset to add" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds an asset to an existing whitelisted contract.\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." }, { "info": { "name": "Delete a Whitelisted Contract's Asset", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.fireblocks.io/v1/contracts/:contractId/:assetId", "params": [ { "name": "contractId", "value": "", "type": "path", "description": "The ID of the contract" }, { "name": "assetId", "value": "", "type": "path", "description": "The ID of the asset to delete" } ] }, "docs": "Deletes a whitelisted contract's asset by Fireblocks Contract ID and Asset ID.\n
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor." } ] } ], "bundled": true }