Learn how to create users, embedded wallets, and send transactions in your Java app
id
in future calls to sign messages and send transactions.
signMessage
method.
Make sure to specify your wallet ID (not address) from creation in the input.
sendTransaction
method.
It will populate missing network-related values (gas limit, gas fee values, nonce, type), sign your
transaction, broadcast it to the network, and return the transaction hash to you.
In the request, make sure to specify your wallet id
from your wallet creation above, as well as
the caip2
chain ID and chainId
values for the network you want to transact on.
Also, input your recipient or smart contract address in the to
field.
create
method, passing in
a UserCreateRequestBody
object, which allows you to specify the linked accounts, custom metadata,
and wallets that should be associated with said user.