FireblocksSdk.Api.DeployedContract (FireblocksSdk v0.2.5)

Copy Markdown View Source

Summary

Functions

Fetch ABI for a deployed contract

Return deployed contract data by id

Return deployed contract data by blockchain native asset id and contract address

List deployed contracts data

Upload ABI for a deployed contract

Functions

fetch_abi(filter, idempotentKey \\ "")

Fetch ABI for a deployed contract

Options:

get(id)

Return deployed contract data by id

get_data(filter)

Return deployed contract data by blockchain native asset id and contract address

Options:

list(filter \\ [])

List deployed contracts data

  FireblocksSdk.Api.DeployedContract.list([
    contractAddress: "0x56Ba8B58B7d1f6d384A1C4dD553F39ebc8741B8e",
    baseAssetId: "ETH"
  ])

Return a filtered lean representation of the deployed contracts data on all blockchains (paginated)

Options:

upload_abi(filter, idempotentKey \\ "")

Upload ABI for a deployed contract

Options:

  • :contractAddress (String.t/0) - Required. Address of the contract

  • :baseAssetId (String.t/0) - Required. Base asset identifier

  • :abi (list of keyword/0) - Required. The ABI of the contract, consisting of ABI function definitions

  • :name (String.t/0) - Optional name field