Deploy

post

Deploys a contract using the provided account name and deployment input.

Authorizations
AuthorizationstringRequired
Path parameters
accountNamestringRequired
  • The name of the account to deploy the contract to.
Header parameters
AuthorizationstringRequired
  • The authorization token from the request header.
Body
  • The deployment input data.
chain_idstringOptional

The chain ID.

abistringRequired

The ABI (Application Binary Interface) of the contract.

bytecodestringRequired

The bytecode of the contract.

constructor_argsstringOptional

Optional constructor arguments for the contract.

Responses
200

A promise that resolves to a TransactionAPIResponse indicating the success or failure of the deployment.

application/json
post
/accounts/{accountName}/deploy
200

A promise that resolves to a TransactionAPIResponse indicating the success or failure of the deployment.