TransactionExec()

Summary

RouteTypeExample
/Transaction/ExecutePOSThttp://apinode.credits.com/api/Transaction/Execute

Description

Sends a transaction to the network.

Request

Request Structure

JSON
Copy

Request Parameters

MethodApi: string value - it’s vital to specify the API method to pack the transaction: "TransferToken", "TransferCs", "Delegation", "SmartDeploy", "SmartMethodExecute";

PublicKey: string_value - sender public key in base58

ReceiverPublicKey: string_value - recipient public key in base58

Amount: decimal - transaction amount as a decimal or integer number

Fee: decimal - maximum fee approved by the user as a decimal or integer number

UserData: string_value - data the user sent with the transaction including the data about deployment and initiation of a smart contract

TransactionSignature: string_value - transaction signature in base58

Response

Response Structure

JSON
Copy

Example Code

Python
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard