Sign and Submit Gasless Transaction

This Sign and Submit Gasless Transaction using this method.

API Specification

Sign and Submit Gasless Transaction

POST http://localhost:8888/wallet/signAndSubmitGaslessTxn

Sign and Submit Gasless Transaction under the given instance.

Headers

NameTypeDescription

Authorization*

String

Authorization id

Request Body

NameTypeDescription

to*

String

The recipient's address

walletId*

String

The ID of the wallet.

userId*

String

The user's ID

method*

String

The method for the transaction

contractABI*

String

The Application Binary Interface (ABI) of the contract

dappId*

String

Dapp Id

chainId*

String

Chain Id

params*

Additional parameters for the transaction

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

curl --location 'http://localhost:8888/wallet/signAndSubmitGaslessTxn' \
--header 'Authorization: xxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
  "walletId": "aaad6fb4-0d6d-xxxxxxxxxxxxxxxxxxx",
  "dAppId": "DEV_TEST_XENO_xxxxxxxxxxxxxx",
  "chainId": 80001,
  "to": "0x0E762313219aE4dD7xxxxxxxxxxxxxxxxxxxxxxxx",
  "userId": "DEV_XENO_xxxxxxxxxxxxxxx",
  "contractAbi": "",
  "method": "mintNFT",
  "params": []
}'

Last updated