Script type queried in the script
method.
other
: Script type not covered by the standard script types; payload is
the raw hex.p2pk
: Pay-to-Public-Key (<pk> OP_CHECKSIG
), payload is the hex of the
pubkey (compressed (33 bytes) or uncompressed (65 bytes)).p2pkh
: Pay-to-Public-Key-Hash
(OP_DUP OP_HASH160 <pkh> OP_EQUALVERIFY OP_CHECKSIG
).
Payload is the 20 byte public key hash.p2sh
: Pay-to-Script-Hash (OP_HASH160 <sh> OP_EQUAL
).
Payload is the 20 byte script hash.p2tr-commitment
: Pay-to-Taproot
(OP_SCRIPTTYPE OP_1 <commitment> <state>?
), only on Lotus.
Queries by the commitment. Payload is the 33 byte commitment.p2tr-state
: Pay-to-Taproot (OP_SCRIPTTYPE OP_1 <commitment> <state>
),
only on Lotus. Queries by the state. Payload is the 32 byte state.Which SLP token type (normal fungible, NFT, unknown).
Which SLP tx type.
Message returned from the WebSocket.
State of a transaction output.
UNSPENT
: The UTXO is unspent.SPENT
: The output is spent and no longer part of the UTXO set.NO_SUCH_TX
: The tx queried does not exist.NO_SUCH_OUTPUT
: The output queried does not exist, but the tx does exist.Generated using TypeDoc
Different networks of txs/blocks/UTXOs. Supported are BCH, eCash, Lotus and Ergon.