Payment proof methods
- Endpoint
http://127.0.0.1:3420/v3/owner- Credential
- Token from open_wallet, inside the encrypted envelope. Loopback only
- Methods here
- 4
- Documented against
- node 4.0.3, wallet 4.0.0
retrieve_payment_proof
Read onlyThe proof for a completed transfer.
- Surface
/v3/owneron port 3420- Parameters
- 4 named
- Declared in
- api/src/owner_rpc_s.rs:2110
- A transfer that travelled over epicbox has no proof to retrieve. That transport carries slate V2, and the conversion drops the proof fields.
11 lines
{
"jsonrpc": "2.0",
"id": 1,
"method": "retrieve_payment_proof",
"params": {
"token": "<token from open_wallet>",
"refresh_from_node": true,
"tx_id": null,
"tx_slate_id": null
}
}Response
N/Averify_payment_proof
Read onlyCheck a proof against this wallet.
- Surface
/v3/owneron port 3420- Parameters
- 2 named
- Declared in
- api/src/owner_rpc_s.rs:2157
- Returns a two-element array of booleans.
9 lines
{
"jsonrpc": "2.0",
"id": 1,
"method": "verify_payment_proof",
"params": {
"token": "<token from open_wallet>",
"proof": {}
}
}Response
N/Aproof_address_from_onion_v3
Read onlyConvert an onion address into a proof address.
- Surface
/v3/owneron port 3420- Parameters
- 1 named
- Declared in
- api/src/owner_rpc_s.rs:2070
8 lines
{
"jsonrpc": "2.0",
"id": 1,
"method": "proof_address_from_onion_v3",
"params": {
"address_v3": "<onion address>"
}
}Response
N/Averify_slate_messages
Read onlyCheck the signatures on the messages attached to a slate.
- Surface
/v3/owneron port 3420- Parameters
- 2 named
- Declared in
- api/src/owner_rpc_s.rs:1366
9 lines
{
"jsonrpc": "2.0",
"id": 1,
"method": "verify_slate_messages",
"params": {
"token": "<token from open_wallet>",
"slate": {}
}
}Response
N/A