Arguments: { object: ((value: TransactionObjectInput) => ((tx: Transaction) => { $kind: "Input"; Input: number; type?: "object"; })); objectRef: ((...args: [{ digest: string; objectId: string; version: string | number; }]) => ((tx: Transaction) => { $kind: "Input"; Input: number; type?: "object"; })); pure: { id: ((value: string) => ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; })); address(value: string): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); bool(value: boolean): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); string(value: string): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u128(value: string | number | bigint): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u16(value: number): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u256(value: string | number | bigint): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u32(value: number): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u64(value: string | number | bigint): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); u8(value: number): ((tx: Transaction) => | { $kind: "GasCoin"; GasCoin: true; } | { $kind: "Input"; Input: number; type?: "pure"; } | { $kind: "Input"; Input: number; type?: "object"; } | { $kind: "Result"; Result: number; } | { $kind: "NestedResult"; NestedResult: [number, number]; }); (value: Uint8Array | SerializedBcs<any, any>): T; }; receivingRef: ((...args: [{ digest: string; objectId: string; version: string | number; }]) => ((tx: Transaction) => { $kind: "Input"; Input: number; type?: "object"; })); sharedObjectRef: ((...args: [{ initialSharedVersion: string | number; mutable: boolean; objectId: string; }]) => ((tx: Transaction) => { $kind: "Input"; Input: number; type?: "object"; })); } = ... Type declaration
object: ((value: TransactionObjectInput) => ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}))
- (value): ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}) Returns ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
})
- (tx): {
$kind: "Input";
Input: number;
type?: "object";
} Returns {
$kind: "Input";
Input: number;
type?: "object";
}
$kind: "Input"
Input: number
Optional
type?: "object"
objectRef: ((...args: [{
digest: string;
objectId: string;
version: string | number;
}]) => ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}))
- (...args): ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}) Parameters
Rest
...args: [{
digest: string;
objectId: string;
version: string | number;
}]
Returns ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
})
- (tx): {
$kind: "Input";
Input: number;
type?: "object";
} Returns {
$kind: "Input";
Input: number;
type?: "object";
}
$kind: "Input"
Input: number
Optional
type?: "object"
pure: {
id: ((value: string) => ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}));
address(value: string): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
bool(value: boolean): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
string(value: string): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u128(value: string | number | bigint): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u16(value: number): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u256(value: string | number | bigint): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u32(value: number): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u64(value: string | number | bigint): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
u8(value: number): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
});
(value: Uint8Array | SerializedBcs<any, any>): T;
}
id: ((value: string) => ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}))
- (value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
address:function
- address(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
bool:function
- bool(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
string:function
- string(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u128:function
- u128(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Parameters
- value: string | number | bigint
Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u16:function
- u16(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u256:function
- u256(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Parameters
- value: string | number | bigint
Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u32:function
- u32(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u64:function
- u64(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Parameters
- value: string | number | bigint
Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
u8:function
- u8(value): ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}) Returns ((tx: Transaction) =>
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
})
- (tx):
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
} Returns
| {
$kind: "GasCoin";
GasCoin: true;
}
| {
$kind: "Input";
Input: number;
type?: "pure";
}
| {
$kind: "Input";
Input: number;
type?: "object";
}
| {
$kind: "Result";
Result: number;
}
| {
$kind: "NestedResult";
NestedResult: [number, number];
}
receivingRef: ((...args: [{
digest: string;
objectId: string;
version: string | number;
}]) => ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}))
- (...args): ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}) Parameters
Rest
...args: [{
digest: string;
objectId: string;
version: string | number;
}]
Returns ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
})
- (tx): {
$kind: "Input";
Input: number;
type?: "object";
} Returns {
$kind: "Input";
Input: number;
type?: "object";
}
$kind: "Input"
Input: number
Optional
type?: "object"
sharedObjectRef: ((...args: [{
initialSharedVersion: string | number;
mutable: boolean;
objectId: string;
}]) => ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}))
- (...args): ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
}) Parameters
Rest
...args: [{
initialSharedVersion: string | number;
mutable: boolean;
objectId: string;
}]
Returns ((tx: Transaction) => {
$kind: "Input";
Input: number;
type?: "object";
})
- (tx): {
$kind: "Input";
Input: number;
type?: "object";
} Returns {
$kind: "Input";
Input: number;
type?: "object";
}
$kind: "Input"
Input: number
Optional
type?: "object"
The pure value, serialized to BCS. If this is a Uint8Array, then the value is assumed to be raw bytes, and will be used directly.