HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

DeployContract

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

Returns

Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is CreateSmartContract, the fields contained in raw_data.contract[0].parameter.value in the transaction are as follows:

FieldTypeDescription
owner_addressstringAccount address
new_contractSmartContractDeployed contract data, the fields contained in it, please refer to GetContract
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!