sign_receive_with_dai_permit
Generates EIP-712 typed data for a DAI-style Permit. Authorizes the spender (default: protocol diamond) to pull DAI-style tokens from signerAddress until expiry. Sign locally with your wallet (EIP-712); use the result to build a TransferAuthorization { strategy: 'DAIPermit' } for a meta-tx flow. Returns: typed data structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Amount in wei the spender is authorized to pull from the signer. | |
| expiry | Yes | Unix timestamp in seconds after which the DAI-style permit is no longer valid. | |
| spender | No | Optional spender address. Defaults to the Boson Protocol diamond from SDK config. | |
| configId | Yes | Boson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server. | |
| signerAddress | Yes | Ethereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally. | |
| tokenDomainName | Yes | EIP-712 domain name of the DAI-style token (e.g. 'Dai Stablecoin'). | |
| exchangeTokenAddress | Yes | ERC-20 token contract address that supports the permit/authorization standard. |