hmy_getStakingTransactionByBlockHashAndIndex
Get staking transaction at an index from a given block, specified by block hash.
String
- The block hash.
Number
- The staking transaction index position.
hash
- String
: Hash of the transaction.
nonce
- Number
: The number of transactions made by the sender prior to this one.
blockHash
- String
: Hash of the block where this transaction was in. null
when its pending.
blockNumber
- Number
: Block number where this transaction was in. null
when its pending.
transactionIndex
- Number
: Integer of the transactions index position in the block. null
when its pending.
timestamp
- Number
: transaction timestamp
from
- String
: Address of the sender.
value
- String
: Value transferred in ATTO.
gasPrice
- String
: Gas price provided by the sender.
gas
- Number
: Gas provided by the sender.
v
- String
: signature V
r
- String
: signature R
s
-
: signature SString
type
- String
: staking transaction type ("CreateValidator", "EditValidator", "CollectRewards", "Undelegate", "Delegate")
msg
- StakingMsg:
CreateValidator:
validatorAddress
- String:
validator address
name
- String:
validator name
commissionRate
- Number
: validator commission rate
maxCommissionRate
- Number
: validator commission rate
maxChangeRate
- Number
: validator max commission rate change
minSelfDelegation
- Number
: min how much validator self delegates
maxTotalDelegation
- Number
: max total delegation to validator
amount
- Number
: stake amount for validator
website
- String
: validator website
identity
- String
: validator kyc identity
securityContact
- String
: validator security contact
details
- String
: additional validator info
slotPubKeys
- []String
: validator bls pub keys
EditValidator:
validatorAddress
- String:
validator address
name
- String
: validator name
commissionRate
- Number
: validator commission rate
minSelfDelegation
- Number
: min how much validator self delegates
maxTotalDelegation
- Number
: max total delegation to validator
website
- String
: validator website
identity
- String
: validator kyc identity
securityContact
- String
: validator security contact
details
- String
: additional validator info
slotPubKeyToAdd
- String
: validator bls pub key to add
slotPubKeyToRemove
- String
: validator bls pub key to remove
CollectRewards:
delegatorAddress
- String
: address to send rewards
Delegate:
delegatorAddress
- String:
delegation delegator address
validatorAddress
- String:
delegation validator address
amount
- Number
: big.Int amount for delegation to validator
Undelegate:
delegatorAddress
- String
: undelegation delegator address
validatorAddress
- String
: undelegation validator address
amount
- Number
: big.Int amount for undelegation to delegator
Sample Curl Request
Sample Curl Response
String
- The block hash.
Number
- The staking transaction index position.
hash
- String
: Hash of the transaction.
nonce
- Number
: The number of transactions made by the sender prior to this one.
blockHash
- String
: Hash of the block where this transaction was in. null
when its pending.
blockNumber
- Number
: Block number where this transaction was in. null
when its pending.
transactionIndex
- Number
: Integer of the transactions index position in the block. null
when its pending.
timestamp
- Number
: transaction timestamp
from
- String
: Address of the sender.
value
- String
: Value transferred in ATTO.
gasPrice
- String
: Gas price provided by the sender.
gas
- Number
: Gas provided by the sender.
v
- String
: signature V
r
- String
: signature R
s
-
: signature SString
type
- String
: staking transaction type ("CreateValidator", "EditValidator", "CollectRewards", "Undelegate", "Delegate")
msg
- StakingMsg:
CreateValidator:
validatorAddress
- String:
validator address
name
- String:
validator name
commissionRate
- Number
: validator commission rate
maxCommissionRate
- Number
: validator commission rate
maxChangeRate
- Number
: validator max commission rate change
minSelfDelegation
- Number
: min how much validator self delegates
maxTotalDelegation
- Number
: max total delegation to validator
amount
- Number
: stake amount for validator
website
- String
: validator website
identity
- String
: validator kyc identity
securityContact
- String
: validator security contact
details
- String
: additional validator info
slotPubKeys
- []String
: validator bls pub keys
EditValidator:
validatorAddress
- String:
validator address
name
- String
: validator name
commissionRate
- Number
: validator commission rate
minSelfDelegation
- Number
: min how much validator self delegates
maxTotalDelegation
- Number
: max total delegation to validator
website
- String
: validator website
identity
- String
: validator kyc identity
securityContact
- String
: validator security contact
details
- String
: additional validator info
slotPubKeyToAdd
- String
: validator bls pub key to add
slotPubKeyToRemove
- String
: validator bls pub key to remove
CollectRewards:
delegatorAddress
- String
: address to send rewards
Delegate:
delegatorAddress
- String:
delegation delegator address
validatorAddress
- String:
delegation validator address
amount
- Number
: big.Int amount for delegation to validator
Undelegate:
delegatorAddress
- String
: undelegation delegator address
validatorAddress
- String
: undelegation validator address
amount
- Number
: big.Int amount for undelegation to delegator
Sample Curl Request
Sample Curl Response