UNPKG

@tunghm/relay-kit

Version:
24 lines (23 loc) 826 B
import Safe from '@safe-global/protocol-kit'; import { MetaTransactionData, MetaTransactionOptions, SafeTransaction } from '@safe-global/safe-core-sdk-types'; export type GelatoOptions = { apiKey?: string; protocolKit: Safe; }; export type GelatoEstimateFeeProps = { chainId: bigint; gasLimit: string; gasToken?: string; }; export type GelatoEstimateFeeResult = string; export type GelatoCreateTransactionProps = { transactions: MetaTransactionData[]; /** options - The transaction array optional properties */ options?: MetaTransactionOptions; /** onlyCalls - Forces the execution of the transaction array with MultiSendCallOnly contract */ onlyCalls?: boolean; }; export type GelatoExecuteTransactionProps = { executable: SafeTransaction; options?: MetaTransactionOptions; };