Auto generated doc
This commit is contained in:
parent
ede973f894
commit
f8fe97467d
111 changed files with 975 additions and 275 deletions
50
docs/build/rpc-api/daemon-rpc-api/alias_lookup.md
vendored
Normal file
50
docs/build/rpc-api/daemon-rpc-api/alias_lookup.md
vendored
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
Give an estimation of block height by the given date.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "alias_lookup",
|
||||
"params": {
|
||||
"alias_first_leters": "al",
|
||||
"n_of_items_to_return": 10
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"alias_first_leters": Prefix by which the search will be performed.
|
||||
"n_of_items_to_return": Maximum number of elements returned (not bigger then 10)
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"aliases": [{
|
||||
"address": "ZxCSpsGGeJsS8fwvQ4HktDU3qBeauoJTR6j73jAWWZxFXdF7XTbGm4YfS2kXJmAP4Rf5BVsSQ9iZ45XANXEYsrLN2L2W77dH7",
|
||||
"alias": "zxdya6q6whzwqjkmtcsjpc3ku",
|
||||
"comment": "Society is never gonna make any progress until we all learn to pretend to like each other.",
|
||||
"tracking_key": "18bb94f69ed61b47b6556f3871b89dff8f9a6f4f798f706fd199b05ccf8ef20c"
|
||||
}],
|
||||
"error_code": "",
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"aliases": List of alias_rpc_details objects, each containing detailed information about each alias registered to the specified address.
|
||||
"address": Address of the alias.
|
||||
"alias": Alias itself, a brief shortcut for an address.
|
||||
"comment": Arbitrary comment (optional).
|
||||
"tracking_key": View secret key of the corresponding address (optional).
|
||||
"error_code": Error code, if any.
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/check_keyimages.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -33,7 +33,8 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"address": "ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp",
|
||||
"amount": 10000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"out_index": 1
|
||||
"out_index": 1,
|
||||
"payment_id": 0
|
||||
}],
|
||||
"status": "OK",
|
||||
"tx_in_json": "ewogICJ2ZXJzaW9uIjogMSwgC....iAgInZpbiI6IFsgewogICAgIC",
|
||||
|
|
@ -48,9 +49,10 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"amount": Amount begin transferred.
|
||||
"asset_id": Asset id.
|
||||
"out_index": Index of the corresponding output in the transaction.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"status": Status code of operation, OK if success
|
||||
"tx_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"verified_tx_id": (Re)calculated transaction id. Can be used in third-party proof generation.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -33,6 +33,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"amount": 1000000000000,
|
||||
"asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6",
|
||||
"output_tx_index": 2,
|
||||
"payment_id": 0,
|
||||
"tx_block_height": 2555000,
|
||||
"tx_id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8"
|
||||
}],
|
||||
|
|
@ -48,9 +49,10 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"amount": The amount of the output.
|
||||
"asset_id": Asset ID of the output.
|
||||
"output_tx_index": Index of the output in the transaction.
|
||||
"payment_id": [optional] 8-bytes long intrinsic payment id
|
||||
"tx_block_height": Block height where the transaction is present.
|
||||
"tx_id": Transaction ID where the output is present, if found.
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/force_relay```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
69
docs/build/rpc-api/daemon-rpc-api/gateway_create_transfer.md
vendored
Normal file
69
docs/build/rpc-api/daemon-rpc-api/gateway_create_transfer.md
vendored
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
Initiates a transfer from gateway address. Create tx that need to be signed.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "gateway_create_transfer",
|
||||
"params": {
|
||||
"comment": "Some comment",
|
||||
"destinations": [{
|
||||
"address": "ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp",
|
||||
"amount": 10000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"payment_id": 1020394
|
||||
}],
|
||||
"fee": 100000000,
|
||||
"origin_gateway_id": "gateway1qxyz...",
|
||||
"service_entries": [{
|
||||
"body": "dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85",
|
||||
"flags": 0,
|
||||
"instruction": "K",
|
||||
"security": "d8f6e37f28a632c06b0b3466db1b9d2d1b36a580ee35edfd971dc1423bc412a5",
|
||||
"service_id": "C"
|
||||
}],
|
||||
"service_entries_permanent": false
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"comment": Comment for the gateway transfer.
|
||||
"destinations": Details of the gateway transfer destinations.
|
||||
"address": Destination address
|
||||
"amount": Amount to transfer to destination
|
||||
"asset_id": Asset id to transfer
|
||||
"payment_id": [optional] Intrinsic 8-byte payment id for this destination. Incompatible with integrated addresses.
|
||||
"fee": Transaction fee for the gateway transfer.
|
||||
"origin_gateway_id": Origin gateway ID for the transfer.
|
||||
"service_entries": Service entries for the gateway transfer.
|
||||
"body": Hex-encoded body of the attachment
|
||||
"flags": Flags that help wallet to automatically process some properties of the attachment(combination of TX_SERVICE_ATTACHMENT_ENCRYPT_BODY=1, TX_SERVICE_ATTACHMENT_DEFLATE_BODY=2, TX_SERVICE_ATTACHMENT_ENCRYPT_BODY_ISOLATE_AUDITABLE=4,TX_SERVICE_ATTACHMENT_ENCRYPT_ADD_PROOF=8 )
|
||||
"instruction": Instruction that make sence for this particular service
|
||||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"service_entries_permanent": Whether the service entries are permanent.
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"status": "OK",
|
||||
"tx_blob": "0100000001...",
|
||||
"tx_hash_to_sign": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"status": Status of the call.
|
||||
"tx_blob": Hex representation of the transaction blob.
|
||||
"tx_hash_to_sign": Hash of the transaction created for the gateway transfer.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
144
docs/build/rpc-api/daemon-rpc-api/gateway_get_address_history.md
vendored
Normal file
144
docs/build/rpc-api/daemon-rpc-api/gateway_get_address_history.md
vendored
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
Retrieves the transaction history for a specific gateway address.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "gateway_get_address_history",
|
||||
"params": {
|
||||
"count": 10,
|
||||
"gateway_address": "gateway1qxyz...",
|
||||
"gateway_view_secret_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"offset": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"count": The number of transactions to retrieve from the specified offset.
|
||||
"gateway_address": The gateway address for which transaction history is being requested.
|
||||
"gateway_view_secret_key": View secret key to decrypt attachments and payment id
|
||||
"offset": The offset in the transaction history from which to start retrieval.
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"balances": [{
|
||||
"amount": 100000000,
|
||||
"asset_id": "729811f9340537e8d5641949e6cc58261f91f109687a706f39bae9514757e819"
|
||||
}],
|
||||
"status": "OK",
|
||||
"total_transactions": 100,
|
||||
"transactions": [{
|
||||
"ado": {
|
||||
"operation_type": 1,
|
||||
"opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6",
|
||||
"version": 2
|
||||
},
|
||||
"comment": "Comment here",
|
||||
"contract": [{
|
||||
"cancel_expiration_time": 0,
|
||||
"contract_id": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"expiration_time": 0,
|
||||
"height": 0,
|
||||
"is_a": false,
|
||||
"payment_id": "",
|
||||
"private_detailes": {
|
||||
"a_addr": "ZxBiDtnzhro111111111111111111111111111111111111111111111111111111111111111111111111111111116xzE1X",
|
||||
"a_pledge": 0,
|
||||
"b_addr": "ZxBiDtnzhro111111111111111111111111111111111111111111111111111111111111111111111111111111116xzE1X",
|
||||
"b_pledge": 0,
|
||||
"c": "",
|
||||
"t": "",
|
||||
"to_pay": 0
|
||||
},
|
||||
"state": 0,
|
||||
"timestamp": 0
|
||||
}],
|
||||
"employed_entries": {
|
||||
},
|
||||
"fee": 10000000000,
|
||||
"height": 0,
|
||||
"is_mining": false,
|
||||
"is_mixing": false,
|
||||
"is_service": false,
|
||||
"remote_addresses": ["ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp"],
|
||||
"remote_aliases": ["roger"],
|
||||
"service_entries": [{
|
||||
"body": "dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85",
|
||||
"flags": 0,
|
||||
"instruction": "K",
|
||||
"security": "d8f6e37f28a632c06b0b3466db1b9d2d1b36a580ee35edfd971dc1423bc412a5",
|
||||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
"tx_blob_size": 0,
|
||||
"tx_hash": "5509650e12c8f901e6731a2bfaf3abfd64409e3e1366d3d94cd11db8beddb0c3",
|
||||
"tx_type": 0,
|
||||
"unlock_time": 0
|
||||
}]
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"balances": List of balances for different asset_id associated with the gateway address at the time of the request.
|
||||
"amount": The amount of the specified currency in the gateway balance entry.
|
||||
"asset_id": The asset ID for the gateway balance entry.
|
||||
"status": Status of the call.
|
||||
"total_transactions": Total number of transactions associated with the specified gateway address.
|
||||
"transactions": List of transactions associated with the specified gateway address, retrieved based on the provided parameters.
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
"operation_type": Asset operation type identifier
|
||||
"opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn).
|
||||
"opt_asset_id": (optional) ID of an asset (emit/burn/update).
|
||||
"version": Asset operation type struct version
|
||||
"comment": Some human-readable comment
|
||||
"contract": Escrow contract if it's part of transaction
|
||||
"employed_entries": Mark entries from transaction that was connected to this wallet
|
||||
"fee": Transaction fee
|
||||
"height": Height of the block that included transaction(0 i transaction is unconfirmed)
|
||||
"is_mining": Tells if this transaction is coinbase transaction(ie generated by PoW mining or by PoS staking)
|
||||
"is_mixing": Tells if this transaction using mixins or not(auditble wallets normally don't use mixins)
|
||||
"is_service": Tells if this transaction is used as utility by one of Zano services(contracts, ionic swaps, etc)
|
||||
"remote_addresses": Remote addresses of this transfer(destination if it's outgoing transfer or sender if it's incoming transaction)
|
||||
"remote_aliases": Aliases for remot addresses, of discovered
|
||||
"service_entries": Additional entries that might be stored in transaction but not part of it's consensus
|
||||
"body": Hex-encoded body of the attachment
|
||||
"flags": Flags that help wallet to automatically process some properties of the attachment(combination of TX_SERVICE_ATTACHMENT_ENCRYPT_BODY=1, TX_SERVICE_ATTACHMENT_DEFLATE_BODY=2, TX_SERVICE_ATTACHMENT_ENCRYPT_BODY_ISOLATE_AUDITABLE=4,TX_SERVICE_ATTACHMENT_ENCRYPT_ADD_PROOF=8 )
|
||||
"instruction": Instruction that make sence for this particular service
|
||||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
57
docs/build/rpc-api/daemon-rpc-api/gateway_get_address_info.md
vendored
Normal file
57
docs/build/rpc-api/daemon-rpc-api/gateway_get_address_info.md
vendored
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
Retrieves information about a gateway address.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "gateway_get_address_info",
|
||||
"params": {
|
||||
"gateway_address": "gateway1qxyz..."
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"gateway_address": The gateway address for which information is being requested.
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"balances": [{
|
||||
"amount": 100000000,
|
||||
"asset_id": "729811f9340537e8d5641949e6cc58261f91f109687a706f39bae9514757e819"
|
||||
}],
|
||||
"descriptor_info": {
|
||||
"meta_info": "Some metadata",
|
||||
"opt_owner_custom_schnorr_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_owner_eddsa_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_owner_eth_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8e2"
|
||||
},
|
||||
"gateway_view_pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
"payment_id": "4cf2c7c7e16d1a2a",
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"balances": List of balances for different asset_id associated with the gateway address.
|
||||
"amount": The amount of the specified currency in the gateway balance entry.
|
||||
"asset_id": The asset ID for the gateway balance entry.
|
||||
"descriptor_info": Information about the specified gateway address.
|
||||
"meta_info": Additional metadata about the gateway
|
||||
"opt_owner_custom_schnorr_pub_key": owner's custom Schnorr signature public key
|
||||
"opt_owner_eddsa_pub_key": owner's EdDSA public key
|
||||
"opt_owner_eth_pub_key": owner's Ethereum public key
|
||||
"gateway_view_pub_key": Gateway view public key associated with the gateway address.
|
||||
"payment_id": Payment ID associated with the gateway address.
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
45
docs/build/rpc-api/daemon-rpc-api/gateway_sign_transfer.md
vendored
Normal file
45
docs/build/rpc-api/daemon-rpc-api/gateway_sign_transfer.md
vendored
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
Signs a transfer from gateway address.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "gateway_sign_transfer",
|
||||
"params": {
|
||||
"opt_custom_schnorr_signature": "b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01",
|
||||
"opt_eddsa_signature": "b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01",
|
||||
"opt_eth_signature": "b1c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123",
|
||||
"tx_blob": "0100000001...",
|
||||
"tx_hash_to_sign": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"opt_custom_schnorr_signature": Custom Schnorr signature for signing the transaction.
|
||||
"opt_eddsa_signature": EdDSA signature for signing the transaction.
|
||||
"opt_eth_signature": Ethereum signature for signing the transaction.
|
||||
"tx_blob": Hex representation of the transaction blob to sign.
|
||||
"tx_hash_to_sign": Hash of the transaction to sign.
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"signed_tx_blob": "0100000001...",
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"signed_tx_blob": Hex representation of the signed transaction blob.
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -40,4 +40,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -41,4 +41,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -54,4 +54,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -50,4 +50,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -65,8 +65,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -74,9 +75,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -127,17 +131,21 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
|
@ -145,4 +153,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -67,8 +67,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -76,9 +77,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -129,17 +133,21 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
|
@ -147,4 +155,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status code of operation, OK if success
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -68,8 +68,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -77,9 +78,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -130,17 +134,21 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
|
@ -148,4 +156,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -26,7 +26,8 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"integrated_address": "iZ2EMyPD7g28hgBfboZeCENaYrHBYZ1bLFi5cgWvn4WJLaxfgs4kqG6cJi9ai2zrXWSCpsvRXit14gKjeijx6YPCLJEv6Fx4rVm1hdAGQFis",
|
||||
"payment_id": "1dfe5a88ff9effb3"
|
||||
"payment_id": "1dfe5a88ff9effb3",
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -34,6 +35,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
```
|
||||
"integrated_address": Integrated address combining a standard address and payment ID, if applicable.
|
||||
"payment_id": Payment ID associated with the this address.
|
||||
"status": Status
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -65,8 +65,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -74,9 +75,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -127,17 +131,21 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
|
@ -145,4 +153,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": Transaction ID where the multisig output is present, if found.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -21,4 +21,4 @@ URL: ```http:://127.0.0.1:11211/get_o_indexes.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": Transaction ID where the queried output is present, if found.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status code, OK if succeeded.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"total_amount": Total amount transferred in the transaction (legacy, for pre-Zarcanum txs).
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -42,8 +42,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -51,9 +52,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -81,20 +85,24 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -31,4 +31,4 @@ URL: ```http:://127.0.0.1:11211/get_pos_details.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -42,8 +42,9 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": "a6e8da986858e6825fce7a192097e6afae4e889cabe853a9c29b964985b23da8",
|
||||
"ins": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_indexes": [0,2,12,27],
|
||||
"htlc_origin": "",
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"kimage_or_ms_id": "2540e0544b1fed3b104976f803dbd83681335c427f9d601d9d5aecf86ef276d2",
|
||||
"multisig_count": 0
|
||||
}],
|
||||
|
|
@ -51,9 +52,12 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"object_in_json": "ewogICJ2ZXJzaW9uIjogMSwgCiAgInZpbiI6IFsgewogICAgIC",
|
||||
"outs": [{
|
||||
"amount": 9000000000,
|
||||
"asset_id": "7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323",
|
||||
"global_index": 0,
|
||||
"gw_addr": "gwZ5sqZkre33rxhoo9ht5xcmzy5khvr2hFSfvk7TeXeMXxby7acC3fs1D",
|
||||
"is_spent": false,
|
||||
"minimum_sigs": 0,
|
||||
"payment_id": 0,
|
||||
"pub_keys": ["7d0c755e7e24a241847176c9a3cf4c970bcd6377018068abe6fe4535b23f5323"]
|
||||
}],
|
||||
"pub_key": "0feef5e2ea0e88b592c0a0e6639ce73e12ea9b3136d89464748fcb60bb6f18f5",
|
||||
|
|
@ -81,20 +85,24 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": Hash of the transaction.
|
||||
"ins": Inputs of the transaction.
|
||||
"amount": The amount of coins being transacted.
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent.
|
||||
"htlc_origin": Origin hash for HTLC (Hash Time Locked Contract).
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, depending on the input type.
|
||||
"asset_id": [optional] Asset ID (for txin_gateway only)
|
||||
"global_indexes": List of global indexes indicating the outputs referenced by this input, where only one is actually being spent (only for txin_zc_input).
|
||||
"gw_addr": [optional] Gateway source address (for txin_gateway only)
|
||||
"kimage_or_ms_id": Contains either the key image for the input or the multisig output ID, or gateway address, depending on the input type.
|
||||
"multisig_count": Number of multisig signatures used, relevant only for multisig outputs.
|
||||
"keeper_block": Block height where the transaction is confirmed, or -1 if it is unconfirmed.
|
||||
"object_in_json": Serialized transaction represented in JSON, encoded in Base64.
|
||||
"outs": Outputs of the transaction.
|
||||
"amount": The output's amount, 0 for ZC outputs.
|
||||
"asset_id": [optional] Asset ID (for tx_out_gateway only)
|
||||
"global_index": Global index of the output for this specific amount.
|
||||
"gw_addr": [optional] Gateway destination address (for tx_out_gateway only)
|
||||
"is_spent": Indicates whether the output has been spent.
|
||||
"minimum_sigs": Minimum number of signatures required to spend the output, for multisig outputs only.
|
||||
"payment_id": [optional] Intrinsic per-output 8 byte long payment id
|
||||
"pub_keys": List of public keys associated with the output.
|
||||
"pub_key": Public key associated with the transaction.
|
||||
"timestamp": Timestamp when the transaction was created.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -25,4 +25,4 @@ URL: ```http:://127.0.0.1:11211/get_tx_pool.bin```
|
|||
"txs": Transactions as blobs.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"yes": Nubmer of positve votes.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -57,4 +57,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -33,4 +33,4 @@ URL: ```http:://127.0.0.1:11211/getblocks.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -68,6 +68,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"real_in_asset_id_blinding_mask_x_amount_sum": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"real_zc_ins_asset_ids": "",
|
||||
"tx_key": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"tx_outs_attr": 0,
|
||||
"tx_pub_key_p": "00000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
|
||||
},
|
||||
"prev_hash": "ae73338b7927df71b6ed477937625c230172219306750ba97995fb5109dda703",
|
||||
|
|
@ -91,4 +92,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"txs_fee": Total fees from transactions included in the block.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/getheight```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
4
docs/build/rpc-api/daemon-rpc-api/getinfo.md
vendored
4
docs/build/rpc-api/daemon-rpc-api/getinfo.md
vendored
|
|
@ -115,6 +115,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"pos_sequence_factor": 0,
|
||||
"pow_difficulty": 12777323347117,
|
||||
"pow_sequence_factor": 1,
|
||||
"pre_hf_tx_freeze_period_active": false,
|
||||
"seconds_for_10_blocks": 476,
|
||||
"seconds_for_30_blocks": 1264,
|
||||
"status": "OK",
|
||||
|
|
@ -178,6 +179,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"pos_sequence_factor": The current PoS sequence factor, representing the number of consecutive PoS blocks. This information is only provided if the COMMAND_RPC_GET_INFO_FLAG_POS_SEQUENCE_FACTOR flag is set.
|
||||
"pow_difficulty": Current difficulty for Proof of Work mining.
|
||||
"pow_sequence_factor": The current PoW sequence factor, representing the number of consecutive PoW blocks. This information is only provided if the COMMAND_RPC_GET_INFO_FLAG_POW_SEQUENCE_FACTOR flag is set.
|
||||
"pre_hf_tx_freeze_period_active": Boolean value indicating whether tx sending is temporarly stopped because a hardfork is coming.
|
||||
"seconds_for_10_blocks": The time period in seconds between the most recent block and the 10th block older. This information is only provided if the COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_10_BLOCKS flag is set.
|
||||
"seconds_for_30_blocks": The time period in seconds between the most recent block and the 30th block older. This information is only provided if the COMMAND_RPC_GET_INFO_FLAG_SECONDS_FOR_30_BLOCKS flag is set.
|
||||
"status": Status of the call.
|
||||
|
|
@ -193,4 +195,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"white_peerlist_size": Size of the white peer list, which includes addresses of reliable nodes.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -54,4 +54,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -41,4 +41,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs1.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -39,4 +39,4 @@ URL: ```http:://127.0.0.1:11211/getrandom_outs3.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -48,4 +48,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
38
docs/build/rpc-api/daemon-rpc-api/getrandom_outs4.bin.md
vendored
Normal file
38
docs/build/rpc-api/daemon-rpc-api/getrandom_outs4.bin.md
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
Version 4 of the command to retrieve random decoy outputs for specified amounts, focusing on either pre-zarcanum or post-zarcanum zones based on the amount value.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/getrandom_outs4.bin```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"batches": [{
|
||||
"heights": [0],
|
||||
"input_amount": 1000000
|
||||
}],
|
||||
"height_upper_limit": 2555000,
|
||||
"look_up_strategy": "LOOK_UP_STRATEGY_REGULAR_TX"
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"batches": List of request batches, each containing an amount and corresponding heights to be processed.
|
||||
"heights": Array of heights to be processed in the batch.
|
||||
"input_amount": Amount to be processed in the batch.
|
||||
"height_upper_limit": Maximum blockchain height from which decoys can be taken. If nonzero, decoys must be at this height or older.
|
||||
"look_up_strategy": LOOK_UP_STRATEGY_REGULAR_TX or LOOK_UP_STRATEGY_POS_COINBASE
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"blocks_batches": [{
|
||||
}],
|
||||
"status": "OK"
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"blocks_batches": Blocks collected by node
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
47
docs/build/rpc-api/daemon-rpc-api/getrandom_outs4.md
vendored
Normal file
47
docs/build/rpc-api/daemon-rpc-api/getrandom_outs4.md
vendored
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
Version 4 of the command to retrieve random decoy outputs for specified amounts, focusing on either pre-zarcanum or post-zarcanum zones based on the amount value.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "getrandom_outs4",
|
||||
"params": {
|
||||
"batches": [{
|
||||
"heights": [0],
|
||||
"input_amount": 1000000
|
||||
}],
|
||||
"height_upper_limit": 2555000,
|
||||
"look_up_strategy": "LOOK_UP_STRATEGY_REGULAR_TX"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"batches": List of request batches, each containing an amount and corresponding heights to be processed.
|
||||
"heights": Array of heights to be processed in the batch.
|
||||
"input_amount": Amount to be processed in the batch.
|
||||
"height_upper_limit": Maximum blockchain height from which decoys can be taken. If nonzero, decoys must be at this height or older.
|
||||
"look_up_strategy": LOOK_UP_STRATEGY_REGULAR_TX or LOOK_UP_STRATEGY_POS_COINBASE
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"blocks_batches": [{
|
||||
}],
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"blocks_batches": Blocks collected by node
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -27,4 +27,4 @@ URL: ```http:://127.0.0.1:11211/gettransactions```
|
|||
"txs_as_hex": Transactions stored as blobs
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -116,4 +116,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"total_offers": Total number of offers.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -26,4 +26,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
```
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
Removes specified transactions from the transaction pool, typically to clear out transactions that are no longer valid or needed.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "remove_tx_from_pool",
|
||||
"params": {
|
||||
"tx_to_remove": ["c5efacd06128fc5a73f58392c84534cd1a146de7d47ffbe770486cce5130dc1f","c2f0de2ef4753dc0ec8dd2da5ebf8e77f07d2ac0791357a9e3f2537071b33762"]
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"tx_to_remove": List of transaction IDs that are to be removed from the transaction pool.
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
Clears transaction pool.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "reset_transaction_pool",
|
||||
"params": {
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"status": "OK"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"types_found": List of entity types where the identifier was found.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -23,4 +23,4 @@ URL: ```http:://127.0.0.1:11211/set_maintainers_info.bin```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -29,4 +29,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -53,4 +53,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the asset
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -97,4 +97,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"total_max_supply": Maximum possible supply for a given asset, cannot be changed after deployment.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Command result (OK if success)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -51,4 +51,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": Id of transaction that carries asset burn operation
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -35,4 +35,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Status of the call
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"res_buff": base64 encoded resulted data message
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -22,7 +22,8 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"destinations": [{
|
||||
"address": "ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp",
|
||||
"amount": 10000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852"
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"payment_id": 1020394
|
||||
}],
|
||||
"do_not_split_destinations": false
|
||||
}
|
||||
|
|
@ -44,6 +45,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"address": Destination address
|
||||
"amount": Amount to transfer to destination
|
||||
"asset_id": Asset id to transfer
|
||||
"payment_id": [optional] Intrinsic 8-byte payment id for this destination. Incompatible with integrated addresses.
|
||||
"do_not_split_destinations": If true, the provided destinations will be used as-is and won't be splitted (or altered) to avoid common issues. Default is false.
|
||||
|
||||
```
|
||||
|
|
@ -64,4 +66,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": Id of transaction that carries asset registration command, asset would be registered as soon as transaction got confirmed
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -12,7 +12,8 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"destinations": [{
|
||||
"address": "ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp",
|
||||
"amount": 10000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852"
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"payment_id": 1020394
|
||||
}],
|
||||
"do_not_split_destinations": false
|
||||
}
|
||||
|
|
@ -25,6 +26,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"address": Destination address
|
||||
"amount": Amount to transfer to destination
|
||||
"asset_id": Asset id to transfer
|
||||
"payment_id": [optional] Intrinsic 8-byte payment id for this destination. Incompatible with integrated addresses.
|
||||
"do_not_split_destinations": If true, the provided destinations will be used as-is and won't be splitted (or altered) to avoid common issues. Default is false.
|
||||
|
||||
```
|
||||
|
|
@ -43,4 +45,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": Id of transaction that emits the required asset.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"res_buff": base64 encoded resulted data message
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -30,4 +30,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Operation status
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"txs_count": Total number of transactions needed to convert all bare outputs .
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -47,4 +47,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"unlock_time": Timestamp/blocknumber after which this money would become availabe, recommended don't count transfers that has this field not 0
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"t": Timestamp
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -45,4 +45,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"unlock_time": Timestamp/blocknumber after which this money would become availabe, recommended don't count transfers that has this field not 0
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
Returns wallet history of transactions
|
||||
(deprecated) Returns wallet history of transactions
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
|
|
@ -89,10 +89,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -140,16 +143,18 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
Returns wallet history of transactions V2(post-zarcanum version)
|
||||
(deprecated) Returns wallet history of transactions V2 (post-Zarcanum version)
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
|
|
@ -92,6 +92,14 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}],
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
"tx_blob_size": 0,
|
||||
|
|
@ -140,12 +148,18 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
154
docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info3.md
vendored
Normal file
154
docs/build/rpc-api/wallet-rpc-api/get_recent_txs_and_info3.md
vendored
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
Returns wallet history of transactions V3 (HF6-ready version with intrinsic payment IDs support)
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "get_recent_txs_and_info3",
|
||||
"params": {
|
||||
"count": 100,
|
||||
"exclude_mining_txs": false,
|
||||
"exclude_unconfirmed": false,
|
||||
"offset": 0,
|
||||
"order": "FROM_END_TO_BEGIN",
|
||||
"update_provision_info": true
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"count": How many items to fetch, if items fetched is less then count, then it enumeration is over
|
||||
"exclude_mining_txs": Exclude mining/staking transactions from results(last_item_index should be used for subsequential calls)
|
||||
"exclude_unconfirmed": Do not include uncomfirmed transactions in results (it also not included is offset is non zero)
|
||||
"offset": Offset from what index to start fetching transfers entries(if filters are used then last_item_index could be used from previous call)
|
||||
"order": Order: "FROM_BEGIN_TO_END" or "FROM_END_TO_BEGIN"
|
||||
"update_provision_info": If update pi is required, could be false only if need to optimize performance(appliable for a veru big wallets)
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"last_item_index": 1,
|
||||
"pi": {
|
||||
"balance": 100000000000,
|
||||
"curent_height": 121212,
|
||||
"transfer_entries_count": 3,
|
||||
"transfers_count": 1,
|
||||
"unlocked_balance": 90000000000
|
||||
},
|
||||
"total_transfers": 1,
|
||||
"transfers": [{
|
||||
"ado": {
|
||||
"operation_type": 1,
|
||||
"opt_amount_commitment": "5688b56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_asset_id": "cc4e69455e63f4a581257382191de6856c2156630b3fba0db4bdd73ffcfb36b6",
|
||||
"version": 2
|
||||
},
|
||||
"comment": "Comment here",
|
||||
"contract": [{
|
||||
"cancel_expiration_time": 0,
|
||||
"contract_id": "0000000000000000000000000000000000000000000000000000000000000000",
|
||||
"expiration_time": 0,
|
||||
"height": 0,
|
||||
"is_a": false,
|
||||
"payment_id": "",
|
||||
"private_detailes": {
|
||||
"a_addr": "ZxBiDtnzhro111111111111111111111111111111111111111111111111111111111111111111111111111111116xzE1X",
|
||||
"a_pledge": 0,
|
||||
"b_addr": "ZxBiDtnzhro111111111111111111111111111111111111111111111111111111111111111111111111111111116xzE1X",
|
||||
"b_pledge": 0,
|
||||
"c": "",
|
||||
"t": "",
|
||||
"to_pay": 0
|
||||
},
|
||||
"state": 0,
|
||||
"timestamp": 0
|
||||
}],
|
||||
"employed_entries": {
|
||||
},
|
||||
"fee": 10000000000,
|
||||
"height": 0,
|
||||
"is_mining": false,
|
||||
"is_mixing": false,
|
||||
"is_service": false,
|
||||
"remote_addresses": ["ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp"],
|
||||
"remote_aliases": ["roger"],
|
||||
"service_entries": [{
|
||||
"body": "dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85dcfd7e055a6a3043ea3541a571a57a63e25dcc64e4a270f14fa9a58ac5dbec85",
|
||||
"flags": 0,
|
||||
"instruction": "K",
|
||||
"security": "d8f6e37f28a632c06b0b3466db1b9d2d1b36a580ee35edfd971dc1423bc412a5",
|
||||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
"tx_blob_size": 0,
|
||||
"tx_hash": "5509650e12c8f901e6731a2bfaf3abfd64409e3e1366d3d94cd11db8beddb0c3",
|
||||
"tx_type": 0,
|
||||
"unlock_time": 0
|
||||
}]
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"last_item_index": Last item index
|
||||
"pi": Details on wallet balance etc
|
||||
"balance": Current balance of native coins
|
||||
"curent_height": Current sync height of the wallet
|
||||
"transfer_entries_count": Number of UTXO entries in wallet
|
||||
"transfers_count": Number of transfers in wallet
|
||||
"unlocked_balance": Unlocked balance oof native coins
|
||||
"total_transfers": Total transfers
|
||||
"transfers": Transfers
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
"operation_type": Asset operation type identifier
|
||||
"opt_amount_commitment": (optional) Asset operation amount commitment (register/emit/burn).
|
||||
"opt_asset_id": (optional) ID of an asset (emit/burn/update).
|
||||
"version": Asset operation type struct version
|
||||
"comment": Some human-readable comment
|
||||
"contract": Escrow contract if it's part of transaction
|
||||
"employed_entries": Mark entries from transaction that was connected to this wallet
|
||||
"fee": Transaction fee
|
||||
"height": Height of the block that included transaction(0 i transaction is unconfirmed)
|
||||
"is_mining": Tells if this transaction is coinbase transaction(ie generated by PoW mining or by PoS staking)
|
||||
"is_mixing": Tells if this transaction using mixins or not(auditble wallets normally don't use mixins)
|
||||
"is_service": Tells if this transaction is used as utility by one of Zano services(contracts, ionic swaps, etc)
|
||||
"remote_addresses": Remote addresses of this transfer(destination if it's outgoing transfer or sender if it's incoming transaction)
|
||||
"remote_aliases": Aliases for remot addresses, of discovered
|
||||
"service_entries": Additional entries that might be stored in transaction but not part of it's consensus
|
||||
"body": Hex-encoded body of the attachment
|
||||
"flags": Flags that help wallet to automatically process some properties of the attachment(combination of TX_SERVICE_ATTACHMENT_ENCRYPT_BODY=1, TX_SERVICE_ATTACHMENT_DEFLATE_BODY=2, TX_SERVICE_ATTACHMENT_ENCRYPT_BODY_ISOLATE_AUDITABLE=4,TX_SERVICE_ATTACHMENT_ENCRYPT_ADD_PROOF=8 )
|
||||
"instruction": Instruction that make sence for this particular service
|
||||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -23,13 +23,19 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"creation_timestamp": 212100,
|
||||
"derivation_secret": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_auditable": false,
|
||||
"seed_phrase": "girlfriend unlike offer mutter tightly social silent expect constant bid nowhere reach flower bite salt becomeconversation dog rush quietly become usually lightning midnight each secret class"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"creation_timestamp": Prety mych self explanatory
|
||||
"derivation_secret": Wallet's secret that is used for key derivations, presented in hex, 32 bytes
|
||||
"is_auditable": Point if the wallet is auditable or regular
|
||||
"seed_phrase": Wallet's seed(secured with password if it was provided in argument)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -42,4 +42,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tracking": Indicates whether tracking is enabled.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -8,11 +8,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"jsonrpc": "2.0",
|
||||
"method": "get_wallet_info",
|
||||
"params": {
|
||||
"collect_utxo_data": false
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"collect_utxo_data": Collect utxo statistics data(might slow down request, don't use it by default)
|
||||
|
||||
```
|
||||
### Response:
|
||||
|
|
@ -27,8 +29,7 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_whatch_only": false,
|
||||
"path": "\/some\/path\/to\/wallet\/file.zan",
|
||||
"transfer_entries_count": 24,
|
||||
"transfers_count": 11,
|
||||
"utxo_distribution": ["1"]
|
||||
"transfers_count": 11
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -41,7 +42,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"path": Path to wallet file location
|
||||
"transfer_entries_count": Represent number of internal entries count(each entry represent tx output that have been addressed to this wallet)
|
||||
"transfers_count": Represent number of transactions that happened to this wallet(basically tx history)
|
||||
"utxo_distribution": UTXO distribution for this particular wallet: disabled right now
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -30,4 +30,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"address": string; standard public address of the wallet.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -72,4 +72,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"unlocked_balance": Native coins total unlocked amount
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"result_tx_id": Result transaction id
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -47,4 +47,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"hex_raw_proposal": Hex-encoded proposal raw data(encrypted with common shared key). Includes half-created transaction template and some extra information that would be needed counterparty to finialize and sign transaction
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -45,4 +45,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"to_initiator": Assets sent to the initiator
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -34,4 +34,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"payment_id": Payment ID associated with the this address.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -38,4 +38,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_hash": Transaction hash
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -116,4 +116,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"total_offers": Total number of offers.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -76,4 +76,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_hash": Transaction hash
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -80,4 +80,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_hash": Transaction hash
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -89,4 +89,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"view_sec_key": View secret key
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -32,4 +32,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"status": Result (OK if success)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -36,4 +36,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"response_code": Response code
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -43,4 +43,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"tx_id": If success - transactions that performs registration(alias becomes available after few confirmations)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
52
docs/build/rpc-api/wallet-rpc-api/register_gateway_address.md
vendored
Normal file
52
docs/build/rpc-api/wallet-rpc-api/register_gateway_address.md
vendored
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
Register gateway address to be used in further transfers.
|
||||
|
||||
URL: ```http:://127.0.0.1:11211/json_rpc```
|
||||
### Request:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"method": "register_gateway_address",
|
||||
"params": {
|
||||
"descriptor_info": {
|
||||
"meta_info": "Some metadata",
|
||||
"opt_owner_custom_schnorr_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_owner_eddsa_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"opt_owner_eth_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8e2"
|
||||
},
|
||||
"view_pub_key": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Request description:
|
||||
```
|
||||
"descriptor_info": Descriptor information for the gateway
|
||||
"meta_info": Additional metadata about the gateway
|
||||
"opt_owner_custom_schnorr_pub_key": owner's custom Schnorr signature public key
|
||||
"opt_owner_eddsa_pub_key": owner's EdDSA public key
|
||||
"opt_owner_eth_pub_key": owner's Ethereum public key
|
||||
"view_pub_key": View address to register
|
||||
|
||||
```
|
||||
### Response:
|
||||
```json
|
||||
{
|
||||
"id": 0,
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"address": "",
|
||||
"address_id": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8",
|
||||
"status": "OK",
|
||||
"tx_id": "f74bb56a5b4fa562e679ccaadd697463498a66de4f1760b2cd40f11c3a00a7a8"
|
||||
}
|
||||
}
|
||||
```
|
||||
### Response description:
|
||||
```
|
||||
"address": Addres starting from gwZ or gwiZ
|
||||
"address_id": Registered gateway address id
|
||||
"status": Result (OK if success)
|
||||
"tx_id": Transaction id
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -82,10 +82,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -141,10 +144,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -200,10 +206,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -243,15 +252,17 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
"out": List of outgoing transactions.
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
|
|
@ -279,15 +290,17 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
"pool": List of pool transactions.
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
|
|
@ -315,16 +328,18 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -69,7 +69,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": false,
|
||||
"is_mixing": false,
|
||||
"is_service": false,
|
||||
"payment_id": "00000000ff00ff00",
|
||||
"remote_addresses": ["ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp"],
|
||||
"remote_aliases": ["roger"],
|
||||
"service_entries": [{
|
||||
|
|
@ -80,10 +79,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -126,7 +128,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": false,
|
||||
"is_mixing": false,
|
||||
"is_service": false,
|
||||
"payment_id": "00000000ff00ff00",
|
||||
"remote_addresses": ["ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp"],
|
||||
"remote_aliases": ["roger"],
|
||||
"service_entries": [{
|
||||
|
|
@ -137,10 +138,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -183,7 +187,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": false,
|
||||
"is_mixing": false,
|
||||
"is_service": false,
|
||||
"payment_id": "00000000ff00ff00",
|
||||
"remote_addresses": ["ZxBvJDuQjMG9R2j4WnYUhBYNrwZPwuyXrC7FHdVmWqaESgowDvgfWtiXeNGu8Px9B24pkmjsA39fzSSiEQG1ekB225ZnrMTBp"],
|
||||
"remote_aliases": ["roger"],
|
||||
"service_entries": [{
|
||||
|
|
@ -194,10 +197,13 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"service_id": "C"
|
||||
}],
|
||||
"show_sender": false,
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
"subtransfers_by_pid": [{
|
||||
"payment_id": "a1a2a3a4a5a6a7a8",
|
||||
"subtransfers": [{
|
||||
"amount": 1000000000000,
|
||||
"asset_id": "cc608f59f8080e2fbfe3c8c80eb6e6a953d47cf2d6aebd345bada3a1cab99852",
|
||||
"is_income": false
|
||||
}]
|
||||
}],
|
||||
"timestamp": 1712590951,
|
||||
"transfer_internal_index": 12,
|
||||
|
|
@ -225,7 +231,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": Tells if this transaction is coinbase transaction(ie generated by PoW mining or by PoS staking)
|
||||
"is_mixing": Tells if this transaction using mixins or not(auditble wallets normally don't use mixins)
|
||||
"is_service": Tells if this transaction is used as utility by one of Zano services(contracts, ionic swaps, etc)
|
||||
"payment_id": HEX-encoded payment id blob, if it was present
|
||||
"remote_addresses": Remote addresses of this transfer(destination if it's outgoing transfer or sender if it's incoming transaction)
|
||||
"remote_aliases": Aliases for remot addresses, of discovered
|
||||
"service_entries": Additional entries that might be stored in transaction but not part of it's consensus
|
||||
|
|
@ -235,15 +240,17 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
"out": List of outgoing transactions.
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
|
|
@ -259,7 +266,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": Tells if this transaction is coinbase transaction(ie generated by PoW mining or by PoS staking)
|
||||
"is_mixing": Tells if this transaction using mixins or not(auditble wallets normally don't use mixins)
|
||||
"is_service": Tells if this transaction is used as utility by one of Zano services(contracts, ionic swaps, etc)
|
||||
"payment_id": HEX-encoded payment id blob, if it was present
|
||||
"remote_addresses": Remote addresses of this transfer(destination if it's outgoing transfer or sender if it's incoming transaction)
|
||||
"remote_aliases": Aliases for remot addresses, of discovered
|
||||
"service_entries": Additional entries that might be stored in transaction but not part of it's consensus
|
||||
|
|
@ -269,15 +275,17 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
"pool": List of pool transactions.
|
||||
"ado": "Asset Descriptor Operation" if it was present in transaction
|
||||
|
|
@ -293,7 +301,6 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"is_mining": Tells if this transaction is coinbase transaction(ie generated by PoW mining or by PoS staking)
|
||||
"is_mixing": Tells if this transaction using mixins or not(auditble wallets normally don't use mixins)
|
||||
"is_service": Tells if this transaction is used as utility by one of Zano services(contracts, ionic swaps, etc)
|
||||
"payment_id": HEX-encoded payment id blob, if it was present
|
||||
"remote_addresses": Remote addresses of this transfer(destination if it's outgoing transfer or sender if it's incoming transaction)
|
||||
"remote_aliases": Aliases for remot addresses, of discovered
|
||||
"service_entries": Additional entries that might be stored in transaction but not part of it's consensus
|
||||
|
|
@ -303,16 +310,18 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"security": Hex-encoded public key of the owner, optional
|
||||
"service_id": Service ID, identificator that diferent one service from another
|
||||
"show_sender": If sender is included in tx
|
||||
"subtransfers": Essential part of transfer entry: amounts that been transfered in this transaction grouped by asset id
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"subtransfers_by_pid": Essential part of transfer entry: amounts that been transfered in this transaction grouped by payment ID and then by asset ID
|
||||
"payment_id": HEX-encoded payment id, or empty string if not present
|
||||
"subtransfers": Amounts that been transfered in this transaction with corresponding payment ID grouped by asset ID
|
||||
"amount": Amount of asset the had been transfered
|
||||
"asset_id": Asset id
|
||||
"is_income": Indicates if transfer was income our outgoing
|
||||
"timestamp": Timestamp of the block that included transaction in blockchain, 0 for unconfirmed
|
||||
"transfer_internal_index": Index of this entry in the wallet's array of transaction's history
|
||||
"tx_blob_size": Size of transaction in bytes
|
||||
"tx_hash": Transaction ID(hash)
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12,GUI_TX_TYPE_HTLC_DEPOSIT=13,GUI_TX_TYPE_HTLC_REDEEM=14
|
||||
"tx_type": Could be one of this: GUI_TX_TYPE_NORMAL=0, GUI_TX_TYPE_PUSH_OFFER=1, GUI_TX_TYPE_UPDATE_OFFER=2, GUI_TX_TYPE_CANCEL_OFFER=3, GUI_TX_TYPE_NEW_ALIAS=4,GUI_TX_TYPE_UPDATE_ALIAS=5,GUI_TX_TYPE_COIN_BASE=6,GUI_TX_TYPE_ESCROW_PROPOSAL=7,GUI_TX_TYPE_ESCROW_TRANSFER=8,GUI_TX_TYPE_ESCROW_RELEASE_NORMAL=9,GUI_TX_TYPE_ESCROW_RELEASE_BURN=10,GUI_TX_TYPE_ESCROW_CANCEL_PROPOSAL=11,GUI_TX_TYPE_ESCROW_RELEASE_CANCEL=12
|
||||
"unlock_time": Unlock time of this transfer (if present)
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
|
|
@ -44,4 +44,4 @@ URL: ```http:://127.0.0.1:11211/json_rpc```
|
|||
"transfers_were_unlocked": If true, all input transfers that were locked when preparing this transaction, are now unlocked and may be spent. Can be true only upon sending failure and if requested.
|
||||
|
||||
```
|
||||
<sub>Auto-doc built with: 2.1.8.415[f287916]</sub>
|
||||
<sub>Auto-doc built with: 2.2.0.461[7ecf73f]</sub>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue