HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

DeployContract

Deploys a contract. Returns TransactionExtention, which contains an unsigned transaction.

Returns

Returned Object: Transaction (Unsigned).

General Fields: Refer to the Transaction section.

CreateSmartContract Specific Fields: The raw_data.contract[0].parameter.value within the transaction contains parameters for the contract invocation:

FieldTypeDescription
owner_addressstringTransaction initiator address.
new_contractSmartContractData of the deployed smart contract. See GetContract for fields.
call_token_valueint64The amount of TRC-10 transferred into the contract
token_idint64TRC-10 token id

Language
Click Try It! to start a request and see the response here!