Getdepositscript

From Open Transactions
Revision as of 17:16, 4 September 2014 by Justusranvier (talk | contribs) (Move to new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This call requests a deposit script suitable for a BIP70 PaymentRequest based on a specific address.

Arguments

address identifier
the address for which the returned script should correspond

Return values

Data

deposit script
A string containing an output script suitable for being included in the PaymentDetails field of a PaymentRequest.

Errors

invalid pool
The given pool is not defined in the wallet.
invalid series
The given series is not defined in the wallet.
invalid branch
The given branch is not defined in the wallet.
invalid index
The index supplied is not a positive integer between 0 an 231.
series not active
The charter output for the pool is not located at the 0th change address for the given series, or the next series.