cURL
curl --request POST \ --url https://api.pay.walletconnect.com/v1/gateway/payment/{id}/fetch \ --header 'Api-Key: <api-key>' \ --header 'Content-Type: application/json' \ --header 'Sdk-Name: <sdk-name>' \ --header 'Sdk-Platform: <sdk-platform>' \ --header 'Sdk-Version: <sdk-version>' \ --data ' { "data": "...", "optionId": "opt_123" } '
{ "actions": [ { "data": { "chain_id": "eip155:8453", "method": "eth_signTypedData_v4", "params": [ "0x0000000000000000000000000000000000000000", "{\"domain\":{\"name\":\"USD Coin\",\"version\":\"2\",\"chainId\":\"0x2105\",\"verifyingContract\":\"0x0000000000000000000000000000000000000000\"},\"types\":{\"EIP712Domain\":[{\"type\":\"string\",\"name\":\"name\"},{\"type\":\"string\",\"name\":\"version\"},{\"type\":\"uint256\",\"name\":\"chainId\"},{\"type\":\"address\",\"name\":\"verifyingContract\"}],\"TransferWithAuthorization\":[{\"type\":\"address\",\"name\":\"from\"},{\"type\":\"address\",\"name\":\"to\"},{\"type\":\"uint256\",\"name\":\"value\"},{\"type\":\"uint256\",\"name\":\"validAfter\"},{\"type\":\"uint256\",\"name\":\"validBefore\"},{\"type\":\"bytes32\",\"name\":\"nonce\"}]},\"primaryType\":\"TransferWithAuthorization\",\"message\":{\"from\":\"0x0000000000000000000000000000000000000000\",\"nonce\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"to\":\"0x0000000000000000000000000000000000000000\",\"validAfter\":\"0x0\",\"validBefore\":\"0x0\",\"value\":\"0x0\"}}" ] }, "type": "walletRpc" } ] }
Resolve build actions into executable wallet RPC actions.
Payment ID
Extra data to be passed
ID of the option to build an action for
Action built successfully
An action that requires a wallet RPC call to complete
Show child attributes