@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 โ
| Parameter | Type |
|---|---|
network | string |