Skip to content

Commit 3b0187a

Browse files
committed
cardano-rpc | Encode coin as String in JavaScript
1 parent 2e80832 commit 3b0187a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano-rpc/proto/utxorpc/v1alpha/cardano/cardano.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package utxorpc.v1alpha.cardano;
55
// Represents a transaction output in the Cardano blockchain.
66
message TxOutput {
77
bytes address = 1; // Address receiving the output.
8-
uint64 coin = 2; // Amount of ADA in the output.
8+
uint64 coin = 2 [jstype = JS_BIGINT]; // Amount of ADA in the output.
99
repeated MultiAsset assets = 3; // Additional native (non-ADA) assets in the output.
1010
Datum datum = 4; // Plutus data associated with the output.
1111
Script script = 5; // Script associated with the output.

0 commit comments

Comments
 (0)