View Source FireblocksSdk.Api.Contract (FireblocksSdk v0.1.3)

Summary

Functions

Adds an asset to an existing contract.

Creates a new contract.

Delete a contract

Delete a contract asset

Returns a contract asset by ID.

Returns a contract by id.

Gets a list of contracts.

Functions

Link to this function

add_asset(contract_asset, idempotent_key \\ "")

View Source

Adds an asset to an existing contract.

  FireblocksSdk.Api.Contract.add_asset([
    contractId: "CONTRACT_ID",
    assetId: "ASSET_ID",
    address: "ADDRESS",
  ])

Options:

Link to this function

create(name, idempotent_key \\ "")

View Source

Creates a new contract.

Delete a contract

Link to this function

delete_asset(contract_id, asset_id)

View Source

Delete a contract asset

Link to this function

find_contract_asset(contract_id, asset_id)

View Source

Returns a contract asset by ID.

Returns a contract by id.

Gets a list of contracts.