Sign And Submit Gasless Txn Using (kms wallet)

The "Sign And Submit Gasless Txn Using (kms wallet)" API endpoint allows users to sign and submit a gasless transaction using a Key Management Service (KMS) wallet in a local development environment.

API Specification

Sign And Submit Gasless Txn

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

Sign And Submit Gasless Txn under the given instance.

Headers

Name
Type
Description

Authorization*

String

User Auth key obtained

Request Body

Name
Type
Description

walletId*

String

The ID associated with the SMW wallet for signing the transaction.

dAppId*

String

Dapp ID associated with the application

chainId*

String

Chain ID representing the blockchain protocol

to*

String

Contract address to which the gasless transaction is being sent

contractAbi*

String

The ABI (Application Binary Interface) of the contract

method*

String

The specific method of the contract for which the gasless transaction is being initiated

params*

String

Parameters required for the specified contract method

{
    "Status": "SUCCESS",
    "Message": "Transaction Complete",
    "Data": {
        "message": "Tx submitted to network successfully",
        "txHash": "0x50c7f0b20a758de6759cfadd895d268886043dd52ecaac1ca98axxxxxxxxxxx"
    }
}

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

Last updated

Was this helpful?