Last updated 10 months ago
Encode a transaction (signed or not) from JSON to base64-encoded Amino serialized bytes
/txs/encode
The tx was successfully decoded and re-encoded
The tx was malformated
Server internal error
curl -L \ --request POST \ --url 'https://akt.nownodes.io/txs/encode' \ --header 'Content-Type: application/json' \ --data '{"tx":{"msg":[null],"fee":{"amount":[{"denom":"stake","amount":"50"}]},"signature":{"signature":"MEUCIQD02fsDPra8MtbRsyB1w7bqTM55Wu138zQbFcWx4+CFyAIge5WNPfKIuvzBZ69MyqHsqD8S1IwiEp+iUb6VSdtlpgY=","pub_key":{"type":"tendermint/PubKeySecp256k1","value":"Avz04VhtKJh8ACCVzlI8aTosGy0ikFXKIVHQ3jKMrosH"},"account_number":"0","sequence":"0"}}}'
{ "tx": "The base64-encoded Amino-serialized bytes for the tx" }