CryptoApis::TransactionRequestRejectionDataItem
Properties
Name |
Type |
Description |
Notes |
blockchain |
String |
Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. |
|
network |
String |
Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten", "rinkeby" are test networks. |
|
required_approvals |
Integer |
The required number of approvals needed to approve the transaction. |
|
required_rejections |
Integer |
The required number of rejections needed to reject the transaction. |
|
current_approvals |
Integer |
The current number of approvals given for the transaction. |
|
current_rejections |
Integer |
The current number of rejections given for the transaction. |
|
Example
require 'crypto_apis'
instance = CryptoApis::TransactionRequestRejectionDataItem.new(
blockchain: ethereum,
network: ropsten,
required_approvals: 2,
required_rejections: 2,
current_approvals: 0,
current_rejections: 2
)