Create a Tokenized Equities Account
Create a Tokenized Equities Account for a wallet address.
Before placing orders, the owner must create a Tokenized Equities Account. Each wallet address has one Tokenized Equities Account, isolated from the owner’s Earn, Credit, and other product accounts.
The account address is deterministic. If it already exists, the
response returns transaction: null and you can skip straight to
building orders.
Returns an unsigned transaction to create the account. The sender
signs and broadcasts this transaction.
If owner pays gas: Set sender to the owner’s address.
If someone else pays gas: Set sender to the wallet that will
sign and broadcast the transaction on behalf of the owner.
Body
Request to create a compass Tokenized Equities Account.
The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
The address that will own and control the compass Tokenized Equities Account
"0x000E009dF7AD7f37421C73AE619Bc208bC71BEFC"
Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
Response
Successful Response
Response containing unsigned transaction to create compass Tokenized Equities Account.
Transaction to create compass Tokenized Equities Account
{
"chainId": "0x1",
"data": "0x1688f0b9000000000000000000000000...",
"from": "0xc98949522db2eE403d6c75E91DDEe875a824bB10",
"gas": "0x55730",
"maxFeePerGas": "0x3b9aca00",
"maxPriorityFeePerGas": "0x5f5e100",
"nonce": "0x2a",
"to": "0xa6B71E26C5e0845f74c812102Ca7114b6a896AB2",
"value": "0x0"
}Predicted address of the compass Tokenized Equities Account that will be deployed
"0xaB5801a7D398351b8bE11C439e05C5B3259aeC9B"