Skip to content

Query Commands

Query objects owned by an address.

List all objects owned by an address.

soma objects list [OWNER]
ArgumentTypeRequiredDescription
ownerKeyIdentityNoAddress or alias (defaults to active address)
soma objects list
soma objects list 0x1234...5678

Get a specific object by ID.

soma objects get <OBJECT_ID> [OPTIONS]
ArgumentTypeRequiredDescription
object_idObjectIDYesObject to retrieve
--bcsflagNoOutput raw BCS bytes
soma objects get 0xABCD...
soma objects get 0xABCD... --bcs

List gas coins owned by an address.

soma objects gas [OWNER]
ArgumentTypeRequiredDescription
ownerKeyIdentityNoAddress or alias (defaults to active address)
soma objects gas

Inspect and execute transactions.

Get transaction details by digest.

soma tx info <DIGEST>
ArgumentTypeRequiredDescription
digestTransactionDigestYesTransaction digest to look up
soma tx info 5Gf8eQ...

Execute a transaction from serialized transaction bytes.

soma tx execute-serialized <TX_BYTES> [OPTIONS]
ArgumentTypeRequiredDescription
tx_bytesstringYesBase64-encoded BCS-serialized TransactionData
soma tx execute-serialized "AQAA..."

Execute a transaction using pre-signed transaction bytes and signatures.

soma tx execute-signed --tx-bytes <TX_BYTES> --signatures <SIGS...>
ArgumentTypeRequiredDescription
--tx-bytesstringYesBase64-encoded unsigned transaction data
--signaturesVec<string>YesBase64-encoded signatures
soma tx execute-signed --tx-bytes "AQAA..." --signatures "c2ln..."

Execute a combined sender-signed transaction.

soma tx execute-combined-signed --signed-tx-bytes <SIGNED_TX_BYTES>
ArgumentTypeRequiredDescription
--signed-tx-bytesstringYesBase64-encoded SenderSignedData
soma tx execute-combined-signed --signed-tx-bytes "AQAA..."