Skip to main content Link Menu Expand (external link) Document Search Copy Copied

BtcTxInputCoin

Model getters

Method name Return type Description Notes
getVersion() float
Example: 2
[optional]
getBlockNumber() float
Example: 1611608
[optional]
getValue() float Amount of the transaction, in Satoshis (1 BTC = 100 000 000 Satoshis)
Example: 1341956178
[optional]
getScript() string
Example: 0014049a97d91d4e1123899bf48c5ba6ce3fd959664e
[optional]
getAddress() string Sender address.
Example: tb1qqjdf0kgafcgj8zvm7jx9hfkw8lv4jejw6wsmjg
[optional]
getCoinbase() bool Coinbase transaction - miner fee.
Example: false
[optional]