SendRaw
SendRaw sends a ZKGM packet from hex-encoded instruction fields. Use this entry point from gnokey maketx call (not maketx run) so OriginSend captures any native coins attached with -send for escrow-bearing instructions.
- channelId: local source IBC channel id on this chain.
- timeoutTimestamp: packet expiry in nanoseconds since the Unix epoch.
- saltHex: 32-byte send salt as hex; an optional 0x prefix is accepted.
- version: instruction version byte (e.g. 2 for TokenOrderV2).
- opcode: instruction opcode (0=Forward, 1=Call, 2=Batch, 3=TokenOrder).
- operandHex: ABI-encoded instruction operand as hex; 0x prefix optional.
Command
# WARNING: This command is running in an INSECURE mode.
# It is strongly recommended to use a hardware device for signing
# and avoid trusting any computer connected to the internet,
# as your private keys could be exposed.
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm" -func "SendRaw" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -chainid "topaz-1" -remote "https://rpc.topaz.testnets.gno.land" ADDRESSgnokey query -remote "https://rpc.topaz.testnets.gno.land" auth/accounts/ADDRESS
gnokey maketx call -pkgpath "gno.land/r/onbloc/ibc/union/apps/ucs03_zkgm" -func "SendRaw" -args $'' -args $'' -args $'' -args $'' -args $'' -args $'' -gas-fee 1000000ugnot -gas-wanted 1_000_000_000 -send "" -broadcast=false ADDRESS > call.tx
gnokey sign -tx-path call.tx -chainid "topaz-1" -account-number ACCOUNTNUMBER -account-sequence SEQUENCENUMBER ADDRESS
gnokey broadcast -remote "https://rpc.topaz.testnets.gno.land" call.tx