Submit Transaction

This Submit Transaction using this method.

API Specification

Submit Transaction

POST http://localhost:8888/wallet/submitTransaction

Submit Transaction under the given instance.

Request Body

{
  "Status": "SUCCESS",
  "Message": "Signed and executed txn successfully",
  "Data": {
    "txHash": "0x6b9771a48a5536e891cc50f3b830911d7902f430412dc48fad2b3c72515f99bd"
  }
}

Take a look at how you might call this method using our official libraries, or via curl:

curl -X POST http://localhost:8888/wallet/submitTransaction \
-H "Content-Type: application/json" \
-d '{
  "walletId": "effae2b6-3ee3-xxxxxxxxxxxxxxxxxx",
  "to": "0xc2de797fab7d2d2bxxxxxxxxxxxxxxxxxxxxx",
  "chainId": 80001,
  "method": "store",
  "params": [
    {
      "type": "uint256",
      "value": "35"
    }
  ],
  "isContractTxn": true,
  "contractABI": "[]"
}'

Last updated