arrow-right-to-bracketInputs

This table bitcoint_inputs_rpc represents the inputs of a transaction. An input is a reference to an output of a previous transaction. It is the source of the funds for the transaction. The input contains the hash of the transaction that contains the output, the index of the output in the transaction, the script that unlocks the output, and the sequence number.

Inputs

Args
Types
Info

fromBlock

BIGINT

Block number to start scanning from.

toBlock

BIGINT

Block number to stop scanning at.

url

VARCHAR

URL of the Bitcoin node.

Outputs

Column names
Types
Info

time

TIMESTAMP

The block time

block_number

BIGINT

The block number

block_hash

VARCHAR

The block hash

transaction_id

VARCHAR

The transaction ID

index

UBIGINT

The position of this input within the transaction

spent_transaction_hash

VARCHAR

The hash of the transaction containing the output that this input spends

spent_output_index

UBIGINT

The index of the output that this input spends

script_asm

VARCHAR

The script in assembly format

script_hex

VARCHAR

The script in hexadecimal format

sequence

BIGINT

The sequence number

transaction_hash

VARCHAR

The hash of the transaction containing this input

coinbase

VARCHAR

Indicates if this input was the coinbase input in the transaction

Examples

Last updated