kinds:
Transaction, unsigned transaction.
Transaction
Signs an unsigned transaction.| Field | Description | Type - Optional |
|---|---|---|
blockchainKind | Cardano | String |
kind | Transaction | String |
transaction | The unsigned hex encoded transaction as shown below. | String |
Typescript Example with MeshJS SDK
First install the MeshJS SDK. You can find the full documentation here: https://docs.meshjs.dev/. You also need a service that tracks the account’s UTXO, for example Blockfrost. The Dfns TypeScript SDK has an example demonstrating how to write a custom Blockfrost initiator plugin for MeshJS. Here a code sample to generate a signature via the Dfns TypeScript SDK:CIP-8
Signs an arbitrary message using CIP-8. Note: signing address depends on the targeted blockchain. Therefore it’s tied to a specificnetwork rather than the blockchain kind.
| Field | Description | Type - Optional |
|---|---|---|
network | A supported Cardano network. | String |
kind | Cip8 | String |
context | Signature1 | String |
payload | The generic message hex encoded. | String |
