API Kit Reference
decodedData

decodeData

Decodes the specified Safe transaction data.

Usage


_10
import { apiKit } from './setup.ts'
_10
_10
const data = '0x...'
_10
_10
const decodedData = await apiKit.decodeData(data)

Returns

Promise<any>

The transaction data decoded.

Parameters

data

  • Type: string

The Safe transaction data to decode.


_10
const decodedData = await apiKit.decodeData(
_10
'0x...'
_10
)

Was this page helpful?