Send Transaction

This Send Transaction using this method.

API Specification

Send Transaction

POST https://api.krypcore.com/api/v0/gasless/sendTransaction

Send Transaction under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth key obtained

Request Body

NameTypeDescription

dAppId*

String

The Dapp ID associated with the application

chainId*

String

The Chain ID representing the blockchain network

request*

object

Request data obtained by using the "getTransactionPayload" method. It includes the necessary details for the transaction

signature*

String

EIP712 Signature generated for the transaction

{
  message: 'Tx submitted to network successfully',
  txHash: '0x041e9a6b96ba6fc93460a91e87d3794f2ad497e91532ffad131xxxxxxxxxxxx'
}

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

curl --location 'https://api.krypcore.com/api/v0/gasless/sendTransaction' \
--header 'Authorization: 03374415-xxxx-xxxx-xxxx-1277d243034e' \
--header 'Content-Type: application/json' \
--data '{
    "chainId": 80001,
    "dAppId": "DEV_DEMO_PACE_xx_xxxxxxxx",
    "request": {
        "data": "0x7698exxx",
        "from": "0x313bA6399d60ff7c2ee8bCb01c2dc9C5e1xxxxxx",
        "gas": 43562,
        "nonce": 0,
        "to": "0x362149525adee7Axxxxxxxxxxxxxxxxxxxxxx",
        "value": 0
    },
    "signature": "0x"
}'

Last updated