{"version":3,"file":"provider-request.mjs","sourceRoot":"","sources":["../../../src/types/methods/provider-request.ts"],"names":[],"mappings":"","sourcesContent":["import type { CaipChainId, Json, JsonRpcParams } from '@metamask/utils';\n\n/**\n * The request parameters for the `snap_experimentalProviderRequest` method.\n *\n * NOTE: This implementation is experimental and may be removed or changed without warning.\n *\n * @property chainId - The CAIP-2 chain ID to make the request to.\n * @property request - The JSON-RPC request.\n */\nexport type ProviderRequestParams = {\n  chainId: CaipChainId;\n  request: { method: string; params: JsonRpcParams } | { method: string };\n};\n\n/**\n * The result returned by the `snap_experimentalProviderRequest` method, which will be a JSON serializable value.\n *\n * NOTE: This implementation is experimental and may be removed or changed without warning.\n */\nexport type ProviderRequestResult = Json;\n"]}