Skip to main content
POST
/
contracts
TypeScript
const response: Promise<FireblocksResponse<UnmanagedWallet>> = fireblocks.contracts.createContract(contractsApiCreateContractRequest);
{
  "id": "<string>",
  "name": "<string>",
  "assets": [
    {
      "id": "<string>",
      "balance": "<string>",
      "lockedAmount": "<string>",
      "address": "<string>",
      "tag": "<string>",
      "activationTime": "<string>"
    }
  ],
  "customerRefId": "<string>"
}

Headers

Idempotency-Key
string

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Body

application/json
name
string

the contract's display name

Response

A Wallet object

id
string
required
name
string
required
assets
object[]
required
customerRefId
string