action nebl_testnet_get_txs { label: "Get transactions by block or address" description: "Returns all transactions by block or address" provider: nebl method: GET path: "/testnet/ins/txs" encoding: json input: { type: "object" properties: { address: { type: "string" } block: { type: "string" } pageNum: { type: "number" } } additionalProperties: false } output: { type: "object" description: "Object containing an array of transaction objects" properties: { pagesTotal: { type: "number" description: "Number of pages of transactions" } txs: { type: "array" description: "Array of transaction objects" items: { type: "object" properties: { blockhash: { type: "string" description: "Hash of the block this transaction is in" } blockheight: { type: "number" description: "Block height of this transaction" } blocktime: { type: "number" description: "Block time of this transaction" } confirmations: { type: "number" description: "Number of transaction confirmations" } fee: { type: "number" description: "Total NEBL used as fee for this transcation in satoshis" } fees: { type: "number" description: "Total NEBL used in fees for this transaction" } locktime: { type: "number" description: "Transaction locktime" } size: { type: "number" description: "Transcation size in bytes" } time: { type: "number" description: "Transaction time" } totalsent: { type: "number" description: "Total NEBL sent in this transaction in satoshis" } txid: { type: "string" description: "TXID of transaction" } valueIn: { type: "number" description: "Total NEBL input in this transaction" } valueOut: { type: "number" description: "Total NEBL output in this transaction" } version: { type: "number" description: "Transaction version" } vin: { type: "array" description: "Array of transaction inputs" items: { type: "object" properties: { n: { type: "number" description: "input index" } scriptSig: { type: "object" properties: { asm: { type: "string" } hex: { type: "string" } } } sequence: { type: "number" } txid: { type: "string" description: "TXID of the input" } value: { type: "number" description: "Value of input in NEBL" } valueSat: { type: "number" description: "Value of input in NEBL satoshi" } vout: { type: "number" description: "output index" } } } } vout: { type: "array" description: "Array of transaction outputs" items: { type: "object" properties: { blockheight: { type: "number" description: "Blockheight of this transaction" } n: { type: "number" description: "Output index" } scriptPubKey: { type: "object" properties: { addresses: { type: "array" items: { type: "string" } } asm: { type: "string" } hex: { type: "string" } reqSigs: { type: "number" } type: { type: "string" } } } used: { type: "boolean" description: "Whether this output has now been used" } usedBlockheight: { type: "number" description: "Blockheight this output was used in" } usedTxid: { type: "string" description: "TXID this output was used in" } value: { type: "number" description: "Value of the output in NEBL" } } } } } } } } } }