Stellar
/paths/strict-send35 crédits
Find strict-send payment paths
Paramètres
| Nom | Type | Description |
|---|---|---|
| source_asset_type | string | Query. Type of the source asset: native, credit_alphanum4 or credit_alphanum12. |
| source_asset_code | string | Query. Code of the source asset. Required unless source_asset_type is native. (facultatif) |
| source_asset_issuer | string | Query. Issuer account of the source asset. Required unless source_asset_type is native. (facultatif) |
| source_amount | string | Query. Amount of the source asset to send. |
| destination_account | string | Query. Receiving account. Exactly one of destination_account or destination_assets must be given. (facultatif) |
| destination_assets | string | Query. Comma-separated list of assets the receiver accepts, each as CODE:ISSUER (native for XLM). Exactly one of destination_account or destination_assets must be given. (facultatif) |
Valeur renvoyée
Type
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).
Exemples de code
curl 'https://holy-burned-sky-stellar-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/paths/strict-send'