payments.getOnrampQuote
Signature
Section titled “Signature”payments.getOnrampQuote#e06645fa flags:# provider:string crypto_currency:string base_currency:string base_amount:flags.0?string crypto_amount:flags.1?string payment_method:flags.2?string = OnrampQuote;Result type
Section titled “Result type”OnrampQuote
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| provider | string | — | — | |
| crypto_currency | string | — | — | |
| base_currency | string | — | — | |
| base_amount | flags.0?string | flags.0 | — | |
| crypto_amount | flags.1?string | flags.1 | — | |
| payment_method | flags.2?string | flags.2 | — |
| Parameter | Bit | Meaning |
|---|---|---|
| base_amount | 0 | Controlled by flags; present when this bit is set. |
| crypto_amount | 1 | Controlled by flags; present when this bit is set. |
| payment_method | 2 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.functions import PaymentsGetOnrampQuotePublic access: miniproto.raw.functions.PaymentsGetOnrampQuote.
Result family
Section titled “Result family”RPC errors
Section titled “RPC errors”No RPC errors are mapped to this method by the pinned error database.
Accepted types
Section titled “Accepted types”No non-primitive type relationships were found.
Returned types
Section titled “Returned types”OnrampQuote
Known selected constructors: onrampQuote