POST
/
contracts

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
type
enum<string>
required

The type of the contract.

Available options:
fungible,
non_fungible
name
string
required

The name of the contract.

description
string
required

The description of the contract.

blockchainName
enum<string>
required

The name of the blockchain used for the contract.

Available options:
polygon,
linea,
optimism,
bvm
maxPerAddress
integer
default: 1

The maximum number of tokens allowed per address.

startsAt
string
default: <current timestamp>

The start date and time of the mint period. Format: "YYYY-MM-DD HH:mm" (GMT/UTC+0)

endsAt
string

The end date and time of the mint period. Format: "YYYY-MM-DD HH:mm" (GMT/UTC+0)

Response

201 - application/json
id
string

The ID of the contract.

address
string | null

The blockchain address of this contract (only for deployed contracts)

baseUri
string
type
string

The type of the contract.

name
string

The name of the contract.

description
string

The description of the contract.

blockchainName
string

The blockchain name of the contract.

maxPerAddress
integer
default: 1

The maximum token per address to be allowed on the mint period.

startsAt
string
default: <current timestamp>

The start date and time of the mint period. Format: "YYYY-MM-DD HH:mm" (GMT/UTC+0)

endsAt
string

The end date and time of the mint period. Format: "YYYY-MM-DD HH:mm" (GMT/UTC+0)

abi
object[] | null

The ABI for this contract (only for deployed contracts)