Generate Signature
Request to generate a signature with the key. This process does not broadcast anything on-chain, this is just an off-chain signature request.
Dfns is compatible with any blockchain that uses a supported key format. If Dfns doesn’t officially integrate with a blockchain, you can use hash signing to generate the signatures to interact with the chain.
If you were using the deprecated POST /wallets/{walletId}/signatures endpoint, then you should now use this one. See the deprecation notice to get more information about how to change your code. TL,DR: from a wallet you can obtain the key as wallet.signingKey.id.
Authentication
✅ Tenant User (TenantUser)✅ Organization User (
CustomerEmployee)✅ End User (
EndUser)✅ Service Account
Required Permissions
Keys:Signatures:Create: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Path Parameters
Body
- Hash
- Message
- Transaction
- EIP-191 personal_sign Message
- EIP-712 TypedData
- EIP-7702 Authorization
- SNIP-12 TypedData
- PSBT
- BIP-322
- SignDocDirect
- SignerPayload
- CIP-8
- Dfns Smart Account Transaction
- Stellar Fee Bump Transaction
All cryptographic scheme support hash signing. Different blockchains will apply different hash functions to compute the hash.
Algorand, AlgorandTestnet, Aptos, AptosTestnet, ArbitrumOne, ArbitrumSepolia, Arc, ArcTestnet, Areum, AvalancheC, AvalancheCFuji, Base, BaseSepolia, Berachain, BerachainBepolia, Bitcoin, BitcoinSignet, BitcoinTestnet4, BitcoinCash, Bob, BobSepolia, Bsc, BscTestnet, Canton, CantonTestnet, Cardano, CardanoPreprod, Concordium, ConcordiumTestnet, Celo, CeloSepolia, Codex, CodexSepolia, CosmosHub4, CosmosIcsTestnet, Dogecoin, DogecoinTestnet, Ethereum, EthereumClassic, EthereumClassicMordor, EthereumSepolia, EthereumHoodi, FlareC, FlareCCoston2, FlowEvm, FlowEvmTestnet, Hedera, HederaTestnet, HyperEvm, HyperEvmTestnet, Ink, InkSepolia, InternetComputer, Ion, IonTestnet, Iota, IotaTestnet, Kusama, KusamaAssetHub, Litecoin, LitecoinTestnet, Monad, MonadTestnet, Movement, MovementTestnet, Near, NearTestnet, Optimism, OptimismSepolia, Origyn, Plasma, PlasmaTestnet, Plume, PlumeSepolia, Paseo, PaseoAssetHub, Polkadot, PolkadotAssetHub, Polygon, PolygonAmoy, Polymesh, PolymeshTestnet, Rayls, RaylsTestnet, Robinhood, RobinhoodSepolia, SeiAtlantic2, SeiPacific1, Solana, SolanaDevnet, Sonic, SonicTestnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, Sui, SuiTestnet, Tezos, TezosShadownet, Tempo, TempoModerato, Tsc, TscTestnet1, Ton, TonTestnet, Tron, TronNile, Westend, WestendAssetHub, Xdc, XdcApothem, XLayer, XLayerSepolia, XrpLedger, XrpLedgerTestnet A unique ID from your system. It can be leveraged to be used as an idempotency key (read more here).
1 - 50Response
Success
All cryptographic scheme support hash signing. Different blockchains will apply different hash functions to compute the hash.
- Hash
- Message
- Transaction
- EIP-191 personal_sign Message
- EIP-712 TypedData
- EIP-7702 Authorization
- SNIP-12 TypedData
- PSBT
- BIP-322
- SignDocDirect
- SignerPayload
- CIP-8
- Dfns Smart Account Transaction
- Stellar Fee Bump Transaction
ISO 8601 date (must be UTC). When the signature was requested.
"2023-04-14T20:41:28.715Z"
Algorand, AlgorandTestnet, Aptos, AptosTestnet, ArbitrumOne, ArbitrumSepolia, Arc, ArcTestnet, Areum, AvalancheC, AvalancheCFuji, Base, BaseSepolia, Berachain, BerachainBepolia, Bitcoin, BitcoinSignet, BitcoinTestnet4, BitcoinCash, Bob, BobSepolia, Bsc, BscTestnet, Canton, CantonTestnet, Cardano, CardanoPreprod, Concordium, ConcordiumTestnet, Celo, CeloSepolia, Codex, CodexSepolia, CosmosHub4, CosmosIcsTestnet, Dogecoin, DogecoinTestnet, Ethereum, EthereumClassic, EthereumClassicMordor, EthereumSepolia, EthereumHoodi, FlareC, FlareCCoston2, FlowEvm, FlowEvmTestnet, Hedera, HederaTestnet, HyperEvm, HyperEvmTestnet, Ink, InkSepolia, InternetComputer, Ion, IonTestnet, Iota, IotaTestnet, Kusama, KusamaAssetHub, Litecoin, LitecoinTestnet, Monad, MonadTestnet, Movement, MovementTestnet, Near, NearTestnet, Optimism, OptimismSepolia, Origyn, Plasma, PlasmaTestnet, Plume, PlumeSepolia, Paseo, PaseoAssetHub, Polkadot, PolkadotAssetHub, Polygon, PolygonAmoy, Polymesh, PolymeshTestnet, Rayls, RaylsTestnet, Robinhood, RobinhoodSepolia, SeiAtlantic2, SeiPacific1, Solana, SolanaDevnet, Sonic, SonicTestnet, Starknet, StarknetSepolia, Stellar, StellarTestnet, Sui, SuiTestnet, Tezos, TezosShadownet, Tempo, TempoModerato, Tsc, TscTestnet1, Ton, TonTestnet, Tron, TronNile, Westend, WestendAssetHub, Xdc, XdcApothem, XLayer, XLayerSepolia, XrpLedger, XrpLedgerTestnet ISO 8601 date (must be UTC). When policy evaluation resolved for this signature request (cleared or blocked).
"2023-04-14T20:41:28.715Z"
ISO 8601 date (must be UTC). When the signature was signed.
"2023-04-14T20:41:28.715Z"
ISO 8601 date (must be UTC). When the signature was confirmed on chain.
"2023-04-14T20:41:28.715Z"