Skip to main content
POST
Build a transaction that starts a referral-code ownership transfer

Body

application/json
caller
string
required

The account sending this transaction (must sign it).

code
string
required

Referral code: a plain string of 1-31 characters (e.g. "mycode") or a 32-byte 0x-hex value.

Minimum string length: 1
newOwner
string
required

The address nominated to take over the code.

Response

Success envelope: ok is true and data carries the payload documented below.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required

An unsigned EVM transaction. Sign it with the from key and broadcast it yourself, or submit the signed bytes via POST /v2/relay.