golem-base-sdk
    Preparing search index...

    Type Alias GolemBaseWalletActions

    type GolemBaseWalletActions = {
        createRawStorageTransaction(
            payload: `0x${string}`,
            gas: undefined | bigint,
            maxFeePerGas: undefined | bigint,
            maxPriorityFeePerGas: undefined | bigint,
        ): Promise<`0x${string}`>;
        sendGolemBaseTransaction(
            creates?: GolemBaseCreate[],
            updates?: GolemBaseUpdate[],
            deletes?: `0x${string}`[],
            extensions?: GolemBaseExtend[],
            gas?: bigint,
            maxFeePerGas?: bigint,
            maxPriorityFeePerGas?: bigint,
        ): Promise<`0x${string}`>;
        sendGolemBaseTransactionAndWaitForReceipt(
            creates?: GolemBaseCreate[],
            updates?: GolemBaseUpdate[],
            deletes?: `0x${string}`[],
            extensions?: GolemBaseExtend[],
            args?: {
                gas?: bigint;
                maxFeePerGas?: bigint;
                maxPriorityFeePerGas?: bigint;
                txHashCallback?: (txHash: Hex) => void;
            },
        ): Promise<TransactionReceipt>;
    }
    Index

    Methods

    • Parameters

      • payload: `0x${string}`
      • gas: undefined | bigint
      • maxFeePerGas: undefined | bigint
      • maxPriorityFeePerGas: undefined | bigint

      Returns Promise<`0x${string}`>

    • Parameters

      Returns Promise<`0x${string}`>