Skip to content

@lelantos-org/sdk / x402 / parseCaip2

Function: parseCaip2() โ€‹

ts
function parseCaip2(network): Caip2;

Defined in: @lelantos-org/sdk/dist/x402/requirements.d.ts:22

Split a CAIP-2 network id. @x402/core validates only that the string is โ‰ฅ3 chars and contains a colon; everything beyond that is checked here.

Parameters โ€‹

ParameterType
networkstring

Returns โ€‹

Caip2

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub