Kadena Wallet Signing API (1.0)

Download OpenAPI specification:Download

Kadena LLC: info@kadena.io URL: https://kadena.io License: BSD-3-Clause

This API facilitates communication between dapps and wallets. This frees dapp developers from the complexity of managing private keys, allowing them to focus on the functionality and business logic of the application. Whenever the dapp needs to send a signed transaction, all you have to do is make an AJAX request to this API on localhost port 9467 and the user's wallet app will handle all the details of transaction signing for you.

/v1/sign

Request Body schema: application/json;charset=utf-8
required
code
required
string
data
object (Object)

Arbitrary JSON object.

required
Array of objects (CapabilityWithDescription)
nonce
string
chainId
string (ChainId)

chainweb chain ID where the transaction will be executed

gasLimit
number (GasLimit) >= 0

max number of gas units you want to spend on this transaction

ttl
number (TTLSeconds)

number of seconds the transaction can wait in the mempool before expiring

sender
string (AccountName)

The name of an account in the coin contract. In the SigningRequest sender field, this will be the account used to pay the transaction's gas price.

extraSigners
Array of strings (PublicKey)

Responses

Request samples

Content type
application/json;charset=utf-8
{
  • "code": "string",
  • "data": { },
  • "caps": [
    ],
  • "nonce": "string",
  • "chainId": "string",
  • "gasLimit": 0,
  • "ttl": 0,
  • "sender": "string",
  • "extraSigners": [
    ]
}

Response samples

Content type
application/json;charset=utf-8
{
  • "body": {
    },
  • "chainId": "string"
}

/v1/quicksign

Request Body schema: application/json;charset=utf-8
required
required
Array of objects (CommandSigData)

Responses

Request samples

Content type
application/json;charset=utf-8
{
  • "cmdSigDatas": [
    ]
}

Response samples

Content type
application/json;charset=utf-8
Example
{
  • "results": [
    ]
}