Skip to content

Obtain Relay Construction Payload

The returned values — the relayer’s on-chain address and the caller’s current nonce — are the two pieces of information a client needs to construct a valid meta-transaction for POST /submit.

GET /relay-payload

Server: https://api.openfish.fun

Authentication: None required


ParameterTypeRequiredDescription
addressstringYesUser’s Ethereum address

FieldTypeDescription
addressstringRelayer’s Ethereum address (the account that sponsors gas)
nonceintegerUser’s current meta-transaction nonce

Sample Response:

{
"address": "0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5",
"nonce": 32
}
{ "error": "Internal server error" }