Stellar
/paths/strict-receive35 créditos
Find strict-receive payment paths
Parámetros
| Nombre | Tipo | Descripción |
|---|---|---|
| destination_asset_type | string | Query. Type of the destination asset: native, credit_alphanum4 or credit_alphanum12. |
| destination_asset_code | string | Query. Code of the destination asset. Required unless destination_asset_type is native. (opcional) |
| destination_asset_issuer | string | Query. Issuer account of the destination asset. Required unless destination_asset_type is native. (opcional) |
| destination_amount | string | Query. Amount of the destination asset to be received. |
| source_account | string | Query. Sending account. Exactly one of source_account or source_assets must be given. (opcional) |
| source_assets | string | Query. Comma-separated list of assets the sender has, each as CODE:ISSUER (native for XLM). Exactly one of source_account or source_assets must be given. (opcional) |
Valor devuelto
Tipo
object
Collection with _embedded.records, an array of paths: source_asset_type, source_asset_code, source_asset_issuer, source_amount, destination_asset_type, destination_asset_code, destination_asset_issuer, destination_amount, path (array of intermediate assets).
Ejemplos de código
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/paths/strict-receive'