idena.apis.blockchain
¶
Module Contents¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
idena.apis.blockchain.
check_sync
()¶ - Return type
-
idena.apis.blockchain.
get_address_pending_transactions
(address)¶ - Parameters
address (str) –
- Return type
-
idena.apis.blockchain.
get_address_transactions
(address, count=5, token=None)¶ - Parameters
address (str) –
count (int) –
token (str) –
- Return type
-
idena.apis.blockchain.
get_block_by_hash
(hash)¶ - Parameters
hash (str) –
- Return type
-
idena.apis.blockchain.
get_block_by_height
(height)¶ - Parameters
height (int) –
- Return type
-
idena.apis.blockchain.
get_burnt_coins
()¶ - Return type
Optional[idena.types.BurntCoins]
-
idena.apis.blockchain.
get_fee_rate
()¶ - Return type
decimal.Decimal
-
idena.apis.blockchain.
get_last_block
()¶ - Return type
-
idena.apis.blockchain.
get_mempool
()¶ - Return type
Optional[str]
-
idena.apis.blockchain.
get_raw_tx
(nonce=None, epoch=None, from_=None, to=None, amount=None, maxFee=None, payload=None, tips=None, useProto=None, type=types.TxType.SendTx)¶ - Parameters
nonce (int) –
epoch (int) –
from_ (str) –
to (str) –
amount (decimal.Decimal) –
maxFee (decimal.Decimal) –
payload (str) –
tips (decimal.Decimal) –
useProto (bool) –
type (idena.types.TxType) –
- Return type
str
-
idena.apis.blockchain.
get_transaction
(hash)¶ - Parameters
hash (str) –
- Return type
-
idena.apis.blockchain.
get_transaction_receipt
(hash)¶ - Parameters
hash (str) –
- Return type
Optional[idena.types.TxReceipt]
-
idena.apis.blockchain.
send_raw_tx
(tx)¶ - Parameters
tx (str) –
- Return type
str