Transactions
Cosmos transactions are used for interacting with Cosmos based RPC’s and tooling. They consist of the body, auth info, and signatures.
JSON Example
Signing Cosmos Transactions
Cosmos transactions on the Sei blockchain follow the standard Cosmos SDK format. They include various types of messages that can be included in the transaction body.
Using the seid
CLI, you can use the --generate-only
flag to generate an
unsigned transaction in JSON format. The transaction can then be signed and
broadcasted to the network.
Assuming you have an unsigned JSON transaction file, you can sign it using the
seid tx sign
command. The signed transaction will be in JSON format and can be
broadcasted to the network.
seid tx sign unsigned_tx.json --chain-id my-test-chain --keyring-backend test --from $SIGNER_ADDRESS