OpenAPI Testing
Generates a swap quote based on input parameters such as the assets, amount, slippage tolerance, and recipient/refund information.
Returns pricing details, estimated time, and a unique deposit address to which tokens must be transferred to initiate the swap.
You can set the dry parameter to true to simulate the quote request without generating a deposit address or initiating the swap process. This is useful for previewing swap parameters or validating input data without committing to an actual swap.
This endpoint is the first required step in the swap process.
Flag indicating whether this is a dry run request.
If true, the response will NOT contain the following fields:
depositAddresstimeWhenInactivetimeEstimatedeadline
trueWhether to use the amount as the output or the input for the basis of the swap:
EXACT_INPUT- request output amount for exact input.EXACT_OUTPUT- request output amount for exact output. TherefundToaddress will always receive excess tokens back even after the swap is complete.
Slippage tolerance for the swap. This value is in basis points (1/100th of a percent), e.g. 100 for 1% slippage.
100ID of the origin asset.
nep141:arb-0xaf88d065e77c8cc2239327c5edb3a432268e5831.omft.nearType of the deposit address:
ORIGIN_CHAIN- deposit address on the origin chainINTENTS- account ID inside near intents to which you should transfer assets inside intents.
ID of the destination asset.
nep141:sol-5ce3bf3a31af18be40ba30f721101b4341690186.omft.nearAmount to swap as the base amount (can be switched to exact input/output using the dedicated flag), denoted in the smallest unit of the specified currency (e.g., wei for ETH).
1000Address for user refund.
0x2527D02599Ba641c19FEa793cD0F167589a0f10DType of refund address:
ORIGIN_CHAIN- assets will be refunded torefundToaddress on the origin chainINTENTS- assets will be refunded torefundTointents account
Recipient address. The format should match recipientType.
13QkxhNMrTPxoCkRdYdJ65tFuwXPhL5gLS2Z5Nr6gjRKType of recipient address:
DESTINATION_CHAIN- assets will be transferred to chain ofdestinationAssetINTENTS- assets will be transferred to account inside intents
Timestamp in ISO format, that identifies when user refund will begin if the swap isn't completed by then.
2019-08-24T14:15:22ZReferral identifier
referralTime in milliseconds user is willing to wait for quote from relay.
3000Example: 3000Bad Request - Invalid input data
Updates the given properties of a Super SIM Fleet instance from your account.
The SID of the Fleet resource to update.
An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.
The SID or unique name of the Network Access Profile that will control which cellular networks the Fleet's SIMs can connect to.
The URL that will receive a webhook when a Super SIM in the Fleet is used to send an IP Command from your device to a special IP address. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored.
A string representing the HTTP method to use when making a request to ip_commands_url. Can be one of POST or GET. Defaults to POST.
The URL that will receive a webhook when a Super SIM in the Fleet is used to send an SMS from your device to the SMS Commands number. Your server should respond with an HTTP status code in the 200 range; any response body will be ignored.
A string representing the HTTP method to use when making a request to sms_commands_url. Can be one of POST or GET. Defaults to POST.
The total data usage (download and upload combined) in Megabytes that each Super SIM assigned to the Fleet can consume during a billing period (normally one month). Value must be between 1MB (1) and 2TB (2,000,000). Defaults to 1GB (1,000).
OK
OK
Listar as atribuições de atividades pendentes da pessoa relacionada ao token de autenticação (Auth)
Utilize um token válido de usuário para realizar a requisição
Indicação do número da página para paginação de registros
Indicação do número de registros a serem retornados
Código identificador do processo a ser filtrado
Código identificador dao serviço a ser filtrado
Código identificador do aplicativo de processos a ser filtrado
Indicativo se devem ser listadas somente as atividades que podem ser concluidas via mobile
Sucesso
Solicitação ou dados da solicitação são inválidas
Pessoa não autorizada
Pessoa não tem permissão de executar essa operação
O registro não foi encontrado
Muitas requisições em um determinado período de tempo
Ocorreu algum erro interno no servidor
Last updated
Was this helpful?
