crypto_apis 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +51 -15
- data/docs/BroadcastLocallySignedTransactionR.md +24 -0
- data/docs/BroadcastLocallySignedTransactionRB.md +20 -0
- data/docs/BroadcastLocallySignedTransactionRBData.md +18 -0
- data/docs/BroadcastLocallySignedTransactionRBDataItem.md +22 -0
- data/docs/BroadcastLocallySignedTransactionRData.md +18 -0
- data/docs/BroadcastLocallySignedTransactionRI.md +18 -0
- data/docs/BroadcastTransactionFail.md +24 -0
- data/docs/BroadcastTransactionFailData.md +22 -0
- data/docs/BroadcastTransactionFailDataItem.md +24 -0
- data/docs/BroadcastTransactionSuccess.md +24 -0
- data/docs/BroadcastTransactionSuccessData.md +22 -0
- data/docs/BroadcastTransactionSuccessDataItem.md +22 -0
- data/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md +6 -2
- data/docs/CreateCoinsTransactionRequestFromAddressRI.md +4 -0
- data/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md +7 -3
- data/docs/{CreateCoinsTransactionRequestFromWalletRBDataItemDestinations.md → CreateCoinsTransactionRequestFromWalletRBDataItemRecipients.md} +3 -3
- data/docs/CreateCoinsTransactionRequestFromWalletRI.md +4 -0
- data/docs/CreateTokensTransactionRequestFromAddressRBDataItem.md +6 -2
- data/docs/CreateTokensTransactionRequestFromAddressRI.md +4 -0
- data/docs/FeaturesApi.md +167 -0
- data/docs/{ListReceivingAddressesR.md → GenerateDepositAddressR.md} +3 -3
- data/docs/{GenerateReceivingAddressRB.md → GenerateDepositAddressRB.md} +3 -3
- data/docs/GenerateDepositAddressRBData.md +18 -0
- data/docs/{GenerateReceivingAddressRBDataItem.md → GenerateDepositAddressRBDataItem.md} +2 -2
- data/docs/GenerateDepositAddressRData.md +18 -0
- data/docs/{GenerateReceivingAddressRI.md → GenerateDepositAddressRI.md} +2 -2
- data/docs/GeneratingApi.md +16 -16
- data/docs/GetAddressDetailsRIConfirmedBalance.md +2 -2
- data/docs/GetAddressDetailsRITotalReceived.md +2 -2
- data/docs/GetAddressDetailsRITotalSpent.md +2 -2
- data/docs/GetBlockDetailsByBlockHashRIBS.md +2 -0
- data/docs/GetBlockDetailsByBlockHashRIBSBSC.md +36 -0
- data/docs/GetBlockDetailsByBlockHeightRIBS.md +2 -0
- data/docs/GetBlockDetailsByBlockHeightRIBSBSC.md +34 -0
- data/docs/GetLatestMinedBlockRIBS.md +2 -0
- data/docs/GetLatestMinedBlockRIBSBSC.md +34 -0
- data/docs/GetTransactionDetailsByTransactionIDRIBS.md +2 -0
- data/docs/GetTransactionDetailsByTransactionIDRIBSBSC.md +28 -0
- data/docs/GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md +20 -0
- data/docs/GetTransactionDetailsByTransactionIDRIFee.md +1 -1
- data/docs/InformativeApi.md +15 -15
- data/docs/{GenerateReceivingAddressR.md → ListDepositAddressesR.md} +3 -3
- data/docs/{ListReceivingAddressesRData.md → ListDepositAddressesRData.md} +3 -3
- data/docs/{ListReceivingAddressesRI.md → ListDepositAddressesRI.md} +2 -2
- data/docs/ListTransactionsByAddressRIBS.md +2 -0
- data/docs/ListTransactionsByAddressRIBSBSC.md +30 -0
- data/docs/ListTransactionsByBlockHashRIBS.md +2 -0
- data/docs/ListTransactionsByBlockHashRIBSBSC.md +30 -0
- data/docs/ListTransactionsByBlockHashRIFee.md +1 -1
- data/docs/ListTransactionsByBlockHeightRIBS.md +2 -0
- data/docs/ListTransactionsByBlockHeightRIBSBSC.md +28 -0
- data/docs/ListTransactionsByBlockHeightRIBSBSCGasPrice.md +20 -0
- data/docs/ListXRPRippleTransactionsByAddressRI.md +2 -4
- data/docs/TransactionRequestApproval.md +24 -0
- data/docs/TransactionRequestApprovalData.md +22 -0
- data/docs/TransactionRequestApprovalDataItem.md +28 -0
- data/docs/TransactionRequestBroadcasted.md +24 -0
- data/docs/TransactionRequestBroadcastedData.md +22 -0
- data/docs/TransactionRequestBroadcastedDataItem.md +30 -0
- data/docs/TransactionRequestFail.md +24 -0
- data/docs/TransactionRequestFailData.md +22 -0
- data/docs/TransactionRequestFailDataItem.md +30 -0
- data/docs/TransactionRequestMined.md +24 -0
- data/docs/TransactionRequestMinedData.md +22 -0
- data/docs/TransactionRequestRejection.md +24 -0
- data/docs/TransactionRequestRejectionData.md +22 -0
- data/docs/TransactionRequestRejectionDataItem.md +28 -0
- data/docs/TransactionsApi.md +10 -10
- data/docs/XRPRippleApi.md +3 -1
- data/lib/crypto_apis.rb +46 -11
- data/lib/crypto_apis/api/features_api.rb +194 -0
- data/lib/crypto_apis/api/generating_api.rb +17 -17
- data/lib/crypto_apis/api/informative_api.rb +18 -18
- data/lib/crypto_apis/api/transactions_api.rb +10 -10
- data/lib/crypto_apis/api/unified_endpoints_api.rb +7 -7
- data/lib/crypto_apis/api/xrp_ripple_api.rb +7 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_r.rb +263 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_r_data.rb +223 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb.rb +233 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb_data.rb +223 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb_data_item.rb +249 -0
- data/lib/crypto_apis/models/broadcast_locally_signed_transaction_ri.rb +224 -0
- data/lib/crypto_apis/models/broadcast_transaction_fail.rb +268 -0
- data/lib/crypto_apis/models/broadcast_transaction_fail_data.rb +254 -0
- data/lib/crypto_apis/models/broadcast_transaction_fail_data_item.rb +270 -0
- data/lib/crypto_apis/models/broadcast_transaction_success.rb +268 -0
- data/lib/crypto_apis/models/broadcast_transaction_success_data.rb +254 -0
- data/lib/crypto_apis/models/broadcast_transaction_success_data_item.rb +255 -0
- data/lib/crypto_apis/models/create_coins_transaction_request_from_address_rb_data_item.rb +30 -10
- data/lib/crypto_apis/models/create_coins_transaction_request_from_address_ri.rb +21 -1
- data/lib/crypto_apis/models/create_coins_transaction_request_from_wallet_rb_data_item.rb +38 -18
- data/lib/crypto_apis/models/{create_coins_transaction_request_from_wallet_rb_data_item_destinations.rb → create_coins_transaction_request_from_wallet_rb_data_item_recipients.rb} +4 -4
- data/lib/crypto_apis/models/create_coins_transaction_request_from_wallet_ri.rb +21 -1
- data/lib/crypto_apis/models/create_tokens_transaction_request_from_address_rb_data_item.rb +30 -10
- data/lib/crypto_apis/models/create_tokens_transaction_request_from_address_ri.rb +31 -1
- data/lib/crypto_apis/models/{list_receiving_addresses_r.rb → generate_deposit_address_r.rb} +4 -4
- data/lib/crypto_apis/models/{generate_receiving_address_r_data.rb → generate_deposit_address_r_data.rb} +4 -4
- data/lib/crypto_apis/models/{generate_receiving_address_rb.rb → generate_deposit_address_rb.rb} +4 -4
- data/lib/crypto_apis/models/{generate_receiving_address_rb_data.rb → generate_deposit_address_rb_data.rb} +4 -4
- data/lib/crypto_apis/models/{generate_receiving_address_rb_data_item.rb → generate_deposit_address_rb_data_item.rb} +3 -3
- data/lib/crypto_apis/models/{list_receiving_addresses_ri.rb → generate_deposit_address_ri.rb} +3 -3
- data/lib/crypto_apis/models/get_address_details_ri_confirmed_balance.rb +0 -1
- data/lib/crypto_apis/models/get_address_details_ri_total_received.rb +0 -1
- data/lib/crypto_apis/models/get_address_details_ri_total_spent.rb +0 -1
- data/lib/crypto_apis/models/get_block_details_by_block_hash_ribs.rb +1 -0
- data/lib/crypto_apis/models/get_block_details_by_block_hash_ribsbsc.rb +361 -0
- data/lib/crypto_apis/models/get_block_details_by_block_height_ribs.rb +1 -0
- data/lib/crypto_apis/models/get_block_details_by_block_height_ribsbsc.rb +345 -0
- data/lib/crypto_apis/models/get_latest_mined_block_ribs.rb +1 -0
- data/lib/crypto_apis/models/get_latest_mined_block_ribsbsc.rb +345 -0
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idri_fee.rb +0 -1
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribs.rb +1 -0
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc.rb +299 -0
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc_gas_price.rb +238 -0
- data/lib/crypto_apis/models/{generate_receiving_address_r.rb → list_deposit_addresses_r.rb} +4 -4
- data/lib/crypto_apis/models/{list_receiving_addresses_r_data.rb → list_deposit_addresses_r_data.rb} +4 -4
- data/lib/crypto_apis/models/{generate_receiving_address_ri.rb → list_deposit_addresses_ri.rb} +3 -3
- data/lib/crypto_apis/models/list_transactions_by_address_ribs.rb +1 -0
- data/lib/crypto_apis/models/list_transactions_by_address_ribsbsc.rb +314 -0
- data/lib/crypto_apis/models/list_transactions_by_block_hash_ri_fee.rb +0 -1
- data/lib/crypto_apis/models/list_transactions_by_block_hash_ribs.rb +1 -0
- data/lib/crypto_apis/models/list_transactions_by_block_hash_ribsbsc.rb +314 -0
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribs.rb +1 -0
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc.rb +299 -0
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc_gas_price.rb +238 -0
- data/lib/crypto_apis/models/list_xrp_ripple_transactions_by_address_ri.rb +1 -16
- data/lib/crypto_apis/models/transaction_request_approval.rb +268 -0
- data/lib/crypto_apis/models/transaction_request_approval_data.rb +254 -0
- data/lib/crypto_apis/models/transaction_request_approval_data_item.rb +300 -0
- data/lib/crypto_apis/models/transaction_request_broadcasted.rb +268 -0
- data/lib/crypto_apis/models/transaction_request_broadcasted_data.rb +254 -0
- data/lib/crypto_apis/models/transaction_request_broadcasted_data_item.rb +315 -0
- data/lib/crypto_apis/models/transaction_request_fail.rb +268 -0
- data/lib/crypto_apis/models/transaction_request_fail_data.rb +254 -0
- data/lib/crypto_apis/models/transaction_request_fail_data_item.rb +315 -0
- data/lib/crypto_apis/models/transaction_request_mined.rb +268 -0
- data/lib/crypto_apis/models/transaction_request_mined_data.rb +254 -0
- data/lib/crypto_apis/models/transaction_request_rejection.rb +268 -0
- data/lib/crypto_apis/models/transaction_request_rejection_data.rb +254 -0
- data/lib/crypto_apis/models/transaction_request_rejection_data_item.rb +300 -0
- data/lib/crypto_apis/version.rb +1 -1
- data/spec/api/{validating_api_spec.rb → features_api_spec.rb} +21 -6
- data/spec/api/generating_api_spec.rb +5 -5
- data/spec/api/informative_api_spec.rb +5 -5
- data/spec/api/transactions_api_spec.rb +1 -1
- data/spec/api/xrp_ripple_api_spec.rb +1 -0
- data/spec/models/broadcast_locally_signed_transaction_r_data_spec.rb +34 -0
- data/spec/models/broadcast_locally_signed_transaction_r_spec.rb +52 -0
- data/spec/models/broadcast_locally_signed_transaction_rb_data_item_spec.rb +46 -0
- data/spec/models/broadcast_locally_signed_transaction_rb_data_spec.rb +34 -0
- data/spec/models/broadcast_locally_signed_transaction_rb_spec.rb +40 -0
- data/spec/models/broadcast_locally_signed_transaction_ri_spec.rb +34 -0
- data/spec/models/broadcast_transaction_fail_data_item_spec.rb +52 -0
- data/spec/models/broadcast_transaction_fail_data_spec.rb +46 -0
- data/spec/models/broadcast_transaction_fail_spec.rb +52 -0
- data/spec/models/broadcast_transaction_success_data_item_spec.rb +46 -0
- data/spec/models/broadcast_transaction_success_data_spec.rb +46 -0
- data/spec/models/broadcast_transaction_success_spec.rb +52 -0
- data/spec/models/create_coins_transaction_request_from_address_rb_data_item_spec.rb +13 -1
- data/spec/models/create_coins_transaction_request_from_address_ri_spec.rb +12 -0
- data/spec/models/{create_coins_transaction_request_from_wallet_rb_data_item_destinations_spec.rb → create_coins_transaction_request_from_wallet_rb_data_item_recipients_spec.rb} +6 -6
- data/spec/models/create_coins_transaction_request_from_wallet_rb_data_item_spec.rb +13 -1
- data/spec/models/create_coins_transaction_request_from_wallet_ri_spec.rb +12 -0
- data/spec/models/create_tokens_transaction_request_from_address_rb_data_item_spec.rb +13 -1
- data/spec/models/create_tokens_transaction_request_from_address_ri_spec.rb +12 -0
- data/spec/models/{generate_receiving_address_r_data_spec.rb → generate_deposit_address_r_data_spec.rb} +6 -6
- data/spec/models/{list_receiving_addresses_r_spec.rb → generate_deposit_address_r_spec.rb} +6 -6
- data/spec/models/{generate_receiving_address_rb_data_item_spec.rb → generate_deposit_address_rb_data_item_spec.rb} +6 -6
- data/spec/models/{generate_receiving_address_rb_data_spec.rb → generate_deposit_address_rb_data_spec.rb} +6 -6
- data/spec/models/{generate_receiving_address_rb_spec.rb → generate_deposit_address_rb_spec.rb} +6 -6
- data/spec/models/{list_receiving_addresses_ri_spec.rb → generate_deposit_address_ri_spec.rb} +6 -6
- data/spec/models/get_block_details_by_block_hash_ribsbsc_spec.rb +88 -0
- data/spec/models/get_block_details_by_block_height_ribsbsc_spec.rb +82 -0
- data/spec/models/get_latest_mined_block_ribsbsc_spec.rb +82 -0
- data/spec/models/get_transaction_details_by_transaction_idribsbsc_gas_price_spec.rb +40 -0
- data/spec/models/get_transaction_details_by_transaction_idribsbsc_spec.rb +64 -0
- data/spec/models/{list_receiving_addresses_r_data_spec.rb → list_deposit_addresses_r_data_spec.rb} +6 -6
- data/spec/models/{generate_receiving_address_r_spec.rb → list_deposit_addresses_r_spec.rb} +6 -6
- data/spec/models/{generate_receiving_address_ri_spec.rb → list_deposit_addresses_ri_spec.rb} +6 -6
- data/spec/models/list_transactions_by_address_ribsbsc_spec.rb +70 -0
- data/spec/models/list_transactions_by_block_hash_ribsbsc_spec.rb +70 -0
- data/spec/models/list_transactions_by_block_height_ribsbsc_gas_price_spec.rb +40 -0
- data/spec/models/list_transactions_by_block_height_ribsbsc_spec.rb +64 -0
- data/spec/models/list_xrp_ripple_transactions_by_address_ri_spec.rb +0 -6
- data/spec/models/transaction_request_approval_data_item_spec.rb +64 -0
- data/spec/models/transaction_request_approval_data_spec.rb +46 -0
- data/spec/models/transaction_request_approval_spec.rb +52 -0
- data/spec/models/transaction_request_broadcasted_data_item_spec.rb +70 -0
- data/spec/models/transaction_request_broadcasted_data_spec.rb +46 -0
- data/spec/models/transaction_request_broadcasted_spec.rb +52 -0
- data/spec/models/transaction_request_fail_data_item_spec.rb +70 -0
- data/spec/models/transaction_request_fail_data_spec.rb +46 -0
- data/spec/models/transaction_request_fail_spec.rb +52 -0
- data/spec/models/transaction_request_mined_data_spec.rb +46 -0
- data/spec/models/transaction_request_mined_spec.rb +52 -0
- data/spec/models/transaction_request_rejection_data_item_spec.rb +64 -0
- data/spec/models/transaction_request_rejection_data_spec.rb +46 -0
- data/spec/models/transaction_request_rejection_spec.rb +52 -0
- metadata +186 -46
- data/docs/GenerateReceivingAddressRBData.md +0 -18
- data/docs/GenerateReceivingAddressRData.md +0 -18
- data/docs/ValidatingApi.md +0 -87
- data/lib/crypto_apis/api/validating_api.rb +0 -108
@@ -1,4 +1,4 @@
|
|
1
|
-
# CryptoApis::
|
1
|
+
# CryptoApis::ListDepositAddressesRData
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -7,14 +7,14 @@
|
|
7
7
|
| **offset** | **Integer** | The starting index of the response items, i.e. where the response should start listing the returned items. | |
|
8
8
|
| **limit** | **Integer** | Defines how many items should be returned in the response per page basis. | |
|
9
9
|
| **total** | **Integer** | Defines the total number of items returned in the response. | |
|
10
|
-
| **items** | [**Array<
|
10
|
+
| **items** | [**Array<ListDepositAddressesRI>**](ListDepositAddressesRI.md) | | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
14
14
|
```ruby
|
15
15
|
require 'crypto_apis'
|
16
16
|
|
17
|
-
instance = CryptoApis::
|
17
|
+
instance = CryptoApis::ListDepositAddressesRData.new(
|
18
18
|
offset: 0,
|
19
19
|
limit: 50,
|
20
20
|
total: 100,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# CryptoApis::
|
1
|
+
# CryptoApis::ListDepositAddressesRI
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'crypto_apis'
|
15
15
|
|
16
|
-
instance = CryptoApis::
|
16
|
+
instance = CryptoApis::ListDepositAddressesRI.new(
|
17
17
|
address: 0xe2b5f5e885a268e4b6faae53f99a663f3bb3e036,
|
18
18
|
created_timestamp: 346658753,
|
19
19
|
label: yourStringHere
|
@@ -16,6 +16,7 @@ CryptoApis::ListTransactionsByAddressRIBS.openapi_one_of
|
|
16
16
|
# [
|
17
17
|
# :'ListTransactionsByAddressRIBSB',
|
18
18
|
# :'ListTransactionsByAddressRIBSBC',
|
19
|
+
# :'ListTransactionsByAddressRIBSBSC',
|
19
20
|
# :'ListTransactionsByAddressRIBSD',
|
20
21
|
# :'ListTransactionsByAddressRIBSD2',
|
21
22
|
# :'ListTransactionsByAddressRIBSE',
|
@@ -50,6 +51,7 @@ CryptoApis::ListTransactionsByAddressRIBS.build(data_that_doesnt_match)
|
|
50
51
|
|
51
52
|
- `ListTransactionsByAddressRIBSB`
|
52
53
|
- `ListTransactionsByAddressRIBSBC`
|
54
|
+
- `ListTransactionsByAddressRIBSBSC`
|
53
55
|
- `ListTransactionsByAddressRIBSD`
|
54
56
|
- `ListTransactionsByAddressRIBSD2`
|
55
57
|
- `ListTransactionsByAddressRIBSE`
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# CryptoApis::ListTransactionsByAddressRIBSBSC
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **contract** | **String** | Numeric representation of the transaction contract | |
|
8
|
+
| **gas_limit** | **String** | String representation of the transaction gas | |
|
9
|
+
| **gas_price** | [**GetTransactionDetailsByTransactionIDRIBSBSCGasPrice**](GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md) | | |
|
10
|
+
| **gas_used** | **String** | Numeric representation of the transaction gas used | |
|
11
|
+
| **input_data** | **String** | Numeric representation of the transaction input | |
|
12
|
+
| **nonce** | **Integer** | Numeric representation of the transaction nonce | |
|
13
|
+
| **transaction_status** | **String** | String representation of the transaction status | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'crypto_apis'
|
19
|
+
|
20
|
+
instance = CryptoApis::ListTransactionsByAddressRIBSBSC.new(
|
21
|
+
contract: null,
|
22
|
+
gas_limit: null,
|
23
|
+
gas_price: null,
|
24
|
+
gas_used: null,
|
25
|
+
input_data: null,
|
26
|
+
nonce: null,
|
27
|
+
transaction_status: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -16,6 +16,7 @@ CryptoApis::ListTransactionsByBlockHashRIBS.openapi_one_of
|
|
16
16
|
# [
|
17
17
|
# :'ListTransactionsByBlockHashRIBSB',
|
18
18
|
# :'ListTransactionsByBlockHashRIBSBC',
|
19
|
+
# :'ListTransactionsByBlockHashRIBSBSC',
|
19
20
|
# :'ListTransactionsByBlockHashRIBSD',
|
20
21
|
# :'ListTransactionsByBlockHashRIBSD2',
|
21
22
|
# :'ListTransactionsByBlockHashRIBSE',
|
@@ -50,6 +51,7 @@ CryptoApis::ListTransactionsByBlockHashRIBS.build(data_that_doesnt_match)
|
|
50
51
|
|
51
52
|
- `ListTransactionsByBlockHashRIBSB`
|
52
53
|
- `ListTransactionsByBlockHashRIBSBC`
|
54
|
+
- `ListTransactionsByBlockHashRIBSBSC`
|
53
55
|
- `ListTransactionsByBlockHashRIBSD`
|
54
56
|
- `ListTransactionsByBlockHashRIBSD2`
|
55
57
|
- `ListTransactionsByBlockHashRIBSE`
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# CryptoApis::ListTransactionsByBlockHashRIBSBSC
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **contract** | **String** | Numeric representation of the transaction contract | |
|
8
|
+
| **gas_limit** | **String** | String representation of the transaction gas | |
|
9
|
+
| **gas_price** | [**GetTransactionDetailsByTransactionIDRIBSBSCGasPrice**](GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md) | | |
|
10
|
+
| **gas_used** | **String** | Numeric representation of the transaction gas used | |
|
11
|
+
| **input_data** | **String** | Numeric representation of the transaction input | |
|
12
|
+
| **nonce** | **String** | Numeric representation of the transaction nonce | |
|
13
|
+
| **transaction_status** | **String** | String representation of the transaction status | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'crypto_apis'
|
19
|
+
|
20
|
+
instance = CryptoApis::ListTransactionsByBlockHashRIBSBSC.new(
|
21
|
+
contract: null,
|
22
|
+
gas_limit: null,
|
23
|
+
gas_price: null,
|
24
|
+
gas_used: null,
|
25
|
+
input_data: null,
|
26
|
+
nonce: null,
|
27
|
+
transaction_status: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -5,7 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **amount** | **String** | Represents the fee amount. | |
|
8
|
-
| **unit** | **String** |
|
8
|
+
| **unit** | **String** | | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -16,6 +16,7 @@ CryptoApis::ListTransactionsByBlockHeightRIBS.openapi_one_of
|
|
16
16
|
# [
|
17
17
|
# :'ListTransactionsByBlockHeightRIBSB',
|
18
18
|
# :'ListTransactionsByBlockHeightRIBSBC',
|
19
|
+
# :'ListTransactionsByBlockHeightRIBSBSC',
|
19
20
|
# :'ListTransactionsByBlockHeightRIBSD',
|
20
21
|
# :'ListTransactionsByBlockHeightRIBSD2',
|
21
22
|
# :'ListTransactionsByBlockHeightRIBSE',
|
@@ -50,6 +51,7 @@ CryptoApis::ListTransactionsByBlockHeightRIBS.build(data_that_doesnt_match)
|
|
50
51
|
|
51
52
|
- `ListTransactionsByBlockHeightRIBSB`
|
52
53
|
- `ListTransactionsByBlockHeightRIBSBC`
|
54
|
+
- `ListTransactionsByBlockHeightRIBSBSC`
|
53
55
|
- `ListTransactionsByBlockHeightRIBSD`
|
54
56
|
- `ListTransactionsByBlockHeightRIBSD2`
|
55
57
|
- `ListTransactionsByBlockHeightRIBSE`
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# CryptoApis::ListTransactionsByBlockHeightRIBSBSC
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **contract** | **String** | Numeric representation of the transaction contract | |
|
8
|
+
| **gas_limit** | **String** | String representation of the transaction gas | |
|
9
|
+
| **gas_price** | [**ListTransactionsByBlockHeightRIBSBSCGasPrice**](ListTransactionsByBlockHeightRIBSBSCGasPrice.md) | | |
|
10
|
+
| **gas_used** | **String** | Numeric representation of the transaction gas used | |
|
11
|
+
| **input_data** | **String** | Numeric representation of the transaction input | |
|
12
|
+
| **nonce** | **String** | Numeric representation of the transaction nonce | |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'crypto_apis'
|
18
|
+
|
19
|
+
instance = CryptoApis::ListTransactionsByBlockHeightRIBSBSC.new(
|
20
|
+
contract: null,
|
21
|
+
gas_limit: 21000,
|
22
|
+
gas_price: null,
|
23
|
+
gas_used: 21000,
|
24
|
+
input_data: null,
|
25
|
+
nonce: 15
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# CryptoApis::ListTransactionsByBlockHeightRIBSBSCGasPrice
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **amount** | **String** | Numeric representation of the transaction gas price | |
|
8
|
+
| **unit** | **String** | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'crypto_apis'
|
14
|
+
|
15
|
+
instance = CryptoApis::ListTransactionsByBlockHeightRIBSBSCGasPrice.new(
|
16
|
+
amount: 17000000000,
|
17
|
+
unit: BNB
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -4,7 +4,6 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **additional_data** | **String** | Represents any additional data that may be needed. | |
|
8
7
|
| **index** | **Integer** | Represents the index position of the transaction in the block. | |
|
9
8
|
| **mined_in_block_hash** | **String** | Represents the hash of the block where this transaction was mined/confirmed for first time. The hash is defined as a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | |
|
10
9
|
| **mined_in_block_height** | **Integer** | Represents the hight of the block where this transaction was mined/confirmed for first time. The height is defined as the number of blocks in the blockchain preceding this specific block. | |
|
@@ -26,17 +25,16 @@
|
|
26
25
|
require 'crypto_apis'
|
27
26
|
|
28
27
|
instance = CryptoApis::ListXRPRippleTransactionsByAddressRI.new(
|
29
|
-
additional_data: null,
|
30
28
|
index: 3,
|
31
29
|
mined_in_block_hash: 3dff3ab3697a0a3116062a92a499dc7b5c9c777b2035f79bb906894972d4573d,
|
32
30
|
mined_in_block_height: 15949067,
|
33
31
|
recipients: null,
|
34
32
|
senders: null,
|
35
33
|
sequence: 39673,
|
36
|
-
status:
|
34
|
+
status: tesSUCCESS,
|
37
35
|
timestamp: 4256894,
|
38
36
|
transaction_hash: 33684d38ccf56f5b10a25e60b11b251abe6288f41aadd03c7596dced895b282a,
|
39
|
-
type:
|
37
|
+
type: OfferCreate,
|
40
38
|
fee: null,
|
41
39
|
offer: null,
|
42
40
|
receive: null,
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# CryptoApis::TransactionRequestApproval
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_version** | **String** | Specifies the version of the API that incorporates this endpoint. | |
|
8
|
+
| **reference_id** | **String** | Represents a unique identifier that serves as reference to the specific request which prompts a callback, e.g. Blockchain Events Subscription, Blockchain Automation, etc. | |
|
9
|
+
| **idempotency_key** | **String** | Specifies a unique ID generated by the system and attached to each callback. It is used by the server to recognize consecutive requests with the same data with the purpose not to perform the same operation twice. | |
|
10
|
+
| **data** | [**TransactionRequestApprovalData**](TransactionRequestApprovalData.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'crypto_apis'
|
16
|
+
|
17
|
+
instance = CryptoApis::TransactionRequestApproval.new(
|
18
|
+
api_version: 2.0,
|
19
|
+
reference_id: 6038d09050653d1f0e40584c,
|
20
|
+
idempotency_key: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c,
|
21
|
+
data: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# CryptoApis::TransactionRequestApprovalData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | **String** | Represents the Crypto APIs 2.0 product which sends the callback. | |
|
8
|
+
| **event** | **String** | Defines the specific event, for which a callback subscription is set. | |
|
9
|
+
| **item** | [**TransactionRequestApprovalDataItem**](TransactionRequestApprovalDataItem.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'crypto_apis'
|
15
|
+
|
16
|
+
instance = CryptoApis::TransactionRequestApprovalData.new(
|
17
|
+
product: Wallet As A Service,
|
18
|
+
event: TRANSACTION_REQUEST_APPROVAL,
|
19
|
+
item: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# CryptoApis::TransactionRequestApprovalDataItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **blockchain** | **String** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | |
|
8
|
+
| **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. | |
|
9
|
+
| **required_approvals** | **Integer** | The required number of approvals needed to approve the transaction. | |
|
10
|
+
| **required_rejections** | **Integer** | The required number of rejections needed to reject the transaction. | |
|
11
|
+
| **current_approvals** | **Integer** | The current number of approvals given for the transaction. | |
|
12
|
+
| **current_rejections** | **Integer** | The current number of rejections given for the transaction. | |
|
13
|
+
|
14
|
+
## Example
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'crypto_apis'
|
18
|
+
|
19
|
+
instance = CryptoApis::TransactionRequestApprovalDataItem.new(
|
20
|
+
blockchain: bitcoin,
|
21
|
+
network: testnet,
|
22
|
+
required_approvals: 2,
|
23
|
+
required_rejections: 2,
|
24
|
+
current_approvals: 1,
|
25
|
+
current_rejections: 0
|
26
|
+
)
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# CryptoApis::TransactionRequestBroadcasted
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_version** | **String** | Specifies the version of the API that incorporates this endpoint. | |
|
8
|
+
| **reference_id** | **String** | Represents a unique identifier that serves as reference to the specific request which prompts a callback, e.g. Blockchain Events Subscription, Blockchain Automation, etc. | |
|
9
|
+
| **idempotency_key** | **String** | Specifies a unique ID generated by the system and attached to each callback. It is used by the server to recognize consecutive requests with the same data with the purpose not to perform the same operation twice. | |
|
10
|
+
| **data** | [**TransactionRequestBroadcastedData**](TransactionRequestBroadcastedData.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'crypto_apis'
|
16
|
+
|
17
|
+
instance = CryptoApis::TransactionRequestBroadcasted.new(
|
18
|
+
api_version: 2.0,
|
19
|
+
reference_id: 6038d09050653d1f0e40584c,
|
20
|
+
idempotency_key: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c,
|
21
|
+
data: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# CryptoApis::TransactionRequestBroadcastedData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | **String** | Represents the Crypto APIs 2.0 product which sends the callback. | |
|
8
|
+
| **event** | **String** | Defines the specific event, for which a callback subscription is set. | |
|
9
|
+
| **item** | [**TransactionRequestBroadcastedDataItem**](TransactionRequestBroadcastedDataItem.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'crypto_apis'
|
15
|
+
|
16
|
+
instance = CryptoApis::TransactionRequestBroadcastedData.new(
|
17
|
+
product: Wallet As A Service,
|
18
|
+
event: TRANSACTION_REQUEST_BROADCASTED,
|
19
|
+
item: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# CryptoApis::TransactionRequestBroadcastedDataItem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **blockchain** | **String** | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | |
|
8
|
+
| **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. | |
|
9
|
+
| **required_approvals** | **Integer** | The required number of approvals needed to approve the transaction. | |
|
10
|
+
| **required_rejections** | **Integer** | The required number of rejections needed to reject the transaction. | |
|
11
|
+
| **current_approvals** | **Integer** | The current number of approvals given for the transaction. | |
|
12
|
+
| **current_rejections** | **Integer** | The current number of rejections given for the transaction. | |
|
13
|
+
| **transaction_id** | **String** | Defines the unique ID of the specific transaction, i.e. its identification number. | |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'crypto_apis'
|
19
|
+
|
20
|
+
instance = CryptoApis::TransactionRequestBroadcastedDataItem.new(
|
21
|
+
blockchain: Bitcoin/Ethereum (whichever applicable),
|
22
|
+
network: Testnet/Mainnet (whichever applicable),
|
23
|
+
required_approvals: 5,
|
24
|
+
required_rejections: 2,
|
25
|
+
current_approvals: 2,
|
26
|
+
current_rejections: 1,
|
27
|
+
transaction_id: 4e78f606bc42534744e223f54b85d5bbd54a3949f54eb8fac31d73028c286e31
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# CryptoApis::TransactionRequestFail
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **api_version** | **String** | Specifies the version of the API that incorporates this endpoint. | |
|
8
|
+
| **reference_id** | **String** | Represents a unique identifier that serves as reference to the specific request which prompts a callback, e.g. Blockchain Events Subscription, Blockchain Automation, etc. | |
|
9
|
+
| **idempotency_key** | **String** | Specifies a unique ID generated by the system and attached to each callback. It is used by the server to recognize consecutive requests with the same data with the purpose not to perform the same operation twice. | |
|
10
|
+
| **data** | [**TransactionRequestFailData**](TransactionRequestFailData.md) | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'crypto_apis'
|
16
|
+
|
17
|
+
instance = CryptoApis::TransactionRequestFail.new(
|
18
|
+
api_version: 2.0,
|
19
|
+
reference_id: 6038d09050653d1f0e40584c,
|
20
|
+
idempotency_key: e55bf7a4a7188855f1c27541a6c387d04cc3b22ee34d1304b0e6ecad61c9906c,
|
21
|
+
data: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# CryptoApis::TransactionRequestFailData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **product** | **String** | Represents the Crypto APIs 2.0 product which sends the callback. | |
|
8
|
+
| **event** | **String** | Defines the specific event, for which a callback subscription is set. | |
|
9
|
+
| **item** | [**TransactionRequestFailDataItem**](TransactionRequestFailDataItem.md) | | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'crypto_apis'
|
15
|
+
|
16
|
+
instance = CryptoApis::TransactionRequestFailData.new(
|
17
|
+
product: Wallet As A Service,
|
18
|
+
event: TRANSACTION_REQUEST_FAIL,
|
19
|
+
item: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|