Authorize a destination with the paying wallet's signature

Verifies the signature over the exact challenge text and stores a short authorization (until the challenge expiry) for wallet + receiver + chain. There is no header, flag or parameter that replaces the signature. Each code works once. Smart-contract wallets (EIP-1271, e.g. Safe) are verified by calling isValidSignature on the wallet contract on that chain.

post/destination/authorize

Request

  • Base URL: https://swap.vurto.cc/v1
  • URL: https://swap.vurto.cc/v1/destination/authorize
  • Auth: none required

Request body

walletstring required
receiverstring required
noncestring required
messagestring required

The challenge text, unchanged.

signaturestring

EVM: 0x hex signature, EIP-191 over message or EIP-712 over typedData. Solana: base58 ed25519 signature over message. Send this OR transaction.

transactionstring

Solana only: the signed proofTransaction, base64. It is verified, never broadcast.

Response

Authorized

authorizedboolean
walletstring
destinationstring
chainIdstring
expiresAtinteger

Changes

No recorded changes to this operation across all 1 revision of this API.