Create Policy
Creates a policy that grants developers temporary permission to perform specific actions on users’ behalf for a limited time.
Headers
Your WalletKit Project ID can be found on the API Keys page in the WalletKit Dashboard.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Ethereum
, Polygon
, Base
, Avalanche
, Polkadot
, Vara
A list of rules that govern the arguments of the function calls that the developer is allowed to make.
The time at which the policy expires. The developer will no longer be able to make function calls on the user's behalf after this time. When omitted, the policy will never expire.
On testnet, the developer_secret is always "testnet-secret". On mainnet, the developer_secret is set by the developer during account activation.
A 6-digit numeric pin that is only known to the user, set during wallet creation. This pin is required to sign transactions from this wallet.
Response
Ethereum
, Polygon
, Base
, Avalanche
, Polkadot
, Vara