types.go 248 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
package batching

import (
	"context"

	"github.com/ethereum/go-ethereum/rpc"
)

type BatchCallContextFn func(ctx context.Context, b []rpc.BatchElem) error

type CallContextFn func(ctx context.Context, result any, method string, args ...any) error